chiark / gitweb /
Test dgit-repos-policy-debian with multiple (identical, as it happens) existing taints.
[dgit.git] / tests / tests / debpolicy-newreject
index 8bc0c8601a81eb42895cfaa1c6b5ed8908dc1f13..ed4a1446d2a930cf0e95e6c0a13efd2d5b6347c0 100755 (executable)
@@ -18,6 +18,7 @@ t-commit 'Commit a forbidden thing'
 
 bad=`git rev-parse HEAD:debian/some-file`
 t-policy-admin taint --global "$bad" "forbidden for testing"
+t-policy-admin taint --global "$bad" "forbidden for testing - again"
 
 t_expect_push_fail_hook+='
 t-git-objects-not-present "" $bad
@@ -82,7 +83,7 @@ t-dgit --deliberately-TEST-dgit-only-not-fast-forward push
 
 t-dgit --deliberately-not-fast-forward push
 
-cd $tmp/git/$p.git
+cd $dgitrepo
 t-expect-push-fail "Not a valid object name" \
 git cat-file -p $oldobj
 cd $tmp/$p