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