X-Git-Url: http://git.scottworley.com/pinch/blobdiff_plain/a2290fb189bee1da5e985d785e044d1681401ff7..f4d3e2010ae1287af696db056828fbb87c8fa1d9:/tests/reject-nonancestor.sh?ds=sidebyside diff --git a/tests/reject-nonancestor.sh b/tests/reject-nonancestor.sh index 5608761..44f2a82 100755 --- a/tests/reject-nonancestor.sh +++ b/tests/reject-nonancestor.sh @@ -13,11 +13,11 @@ python3 ./pinch.py pin "$conf" git commit --amend -m 'Amended commit message' ) +rm -rf "$cache_dir"/* + if python3 ./pinch.py pin "$conf";then echo "FAIL: non-ancestor commit should be rejected" exit 1 else echo PASS fi - -foo_cleanup