]> git.scottworley.com Git - pinch/blobdiff - tests/reject-nonancestor.sh
Start on 3.0.10
[pinch] / tests / reject-nonancestor.sh
index 5608761b23e54d9909d78bfe99d7ec41cd22459e..44f2a82c1c32a66854d962b8e0fb6167e1bb7ab1 100755 (executable)
@@ -13,11 +13,11 @@ python3 ./pinch.py pin "$conf"
   git commit --amend -m 'Amended commit message'
 )
 
   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
 if python3 ./pinch.py pin "$conf";then
   echo "FAIL: non-ancestor commit should be rejected"
   exit 1
 else
   echo PASS
 fi
-
-foo_cleanup