]> git.scottworley.com Git - pinch/blob - tests/reject-unpinned.sh
be7357e64770e976ac27623da8e32e93b0e35043
[pinch] / tests / reject-unpinned.sh
1 #!/bin/sh
2
3 . ./tests/lib/test-setup.sh
4
5 foo_setup
6
7 if python3 ./pinch.py update --dry-run "$conf";then
8 echo "FAIL: Update on an unpinned file should fail"
9 exit 1
10 else
11 echo PASS
12 fi