]> git.scottworley.com Git - pinch/blame_incremental - tests/reject-unknown-field.sh
fallback git-cache 1.4.3 -> 1.5.0 for "git_ref = tag <tag>" support
[pinch] / tests / reject-unknown-field.sh
... / ...
CommitLineData
1#!/bin/sh
2
3. ./tests/lib/test-setup.sh
4
5foo_setup
6
7echo "whatisthis = I don't even" >> "$conf"
8
9if python3 ./pinch.py pin "$conf";then
10 echo "FAIL: Config with unknown field should be rejected"
11 exit 1
12else
13 echo PASS
14fi