]> git.scottworley.com Git - pinch/blob - tests/reject-unknown-field.sh
Move git_cache out to a separate library
[pinch] / tests / reject-unknown-field.sh
1 #!/bin/sh
2
3 . ./tests/lib/test-setup.sh
4
5 foo_setup
6
7 echo "whatisthis = I don't even" >> "$conf"
8
9 if python3 ./pinch.py pin "$conf";then
10 echo "FAIL: Config with unknown field should be rejected"
11 exit 1
12 else
13 echo PASS
14 fi