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: Introduce t-expect-fsck-fail
[dgit.git]
/
tests
/
tests
/
drs-push-rejects
diff --git
a/tests/tests/drs-push-rejects
b/tests/tests/drs-push-rejects
index 79d02b225738514635d629da4d9c17f0e87ca530..8c4ad83cd75acee8b65d289d287404e8f4f05768 100755
(executable)
--- a/
tests/tests/drs-push-rejects
+++ b/
tests/tests/drs-push-rejects
@@
-85,7
+85,7
@@
for h in object type tag; do
mustfail 'multiple headers '$h' in signed tag object' $push_spec
mustfail 'multiple headers '$h' in signed tag object' $push_spec
- expect_fsck_fail+=" $badtag"
+ t-expect-fsck-fail $badtag
done
done
done
done
@@
-147,7
+147,7
@@
badcommit=$(
perl -pe 's/^committer.*\n//' | \
git hash-object -w -t commit --stdin
)
perl -pe 's/^committer.*\n//' | \
git hash-object -w -t commit --stdin
)
-expect_fsck_fail+=" $badcommit"
+t-expect-fsck-fail $badcommit
git checkout -b broken $badcommit
prep unstable sid
mktag
git checkout -b broken $badcommit
prep unstable sid
mktag