chiark
/
gitweb
/
~ianmdlvl
/
dgit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Test suite: build-modes tests: Generate id rather than using counter
[dgit.git]
/
tests
/
tests
/
trustingpolicy-replay
diff --git
a/tests/tests/trustingpolicy-replay
b/tests/tests/trustingpolicy-replay
index f2a704317e34154ac2e0e525dfb66af4a8e76d52..517f98a08014759fd13b22bb095472e59087cfd1 100755
(executable)
--- 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-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
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
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'
attempt-replay 'does not declare previously heads/for-testing'