X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=blobdiff_plain;f=tests%2Ftests%2Ftrustingpolicy-replay;h=517f98a08014759fd13b22bb095472e59087cfd1;hp=f2a704317e34154ac2e0e525dfb66af4a8e76d52;hb=d6be829bf56e699d27d388026d4af7ab710ba328;hpb=b02532fd7d3c82864c76eecbfd99a1abc7e2c1b2 diff --git a/tests/tests/trustingpolicy-replay b/tests/tests/trustingpolicy-replay index f2a70431..517f98a0 100755 --- a/tests/tests/trustingpolicy-replay +++ b/tests/tests/trustingpolicy-replay @@ -47,7 +47,7 @@ prepare-replay () { t-commit "request with $delib that we will replay" t-dgit build - t-expect-push-fail E:'policy-hook.*No such file or directory' \ + t-expect-push-fail 'system: No such file or directory' \ t-dgit push $delib t-policy dgit-repos-policy-trusting @@ -67,7 +67,7 @@ attempt-replay () { prepare-replay --deliberately-fresh-repo # simulate some other thing that we shouldn't delete -git push $tmp/git/$p.git +master:refs/heads/for-testing +git push $dgitrepo +master:refs/heads/for-testing attempt-replay 'does not declare previously heads/for-testing'