diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2017-01-05 15:37:49 +0000 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2017-01-05 15:37:53 +0000 |
commit | 6cbd45af603bc976c8334f839cebefbad2b3a622 (patch) | |
tree | fa4e9fd6759a13f6cbb38d82090dad09d57c95e9 /tests/tests/drs-push-rejects | |
parent | e3d689abb4446aa168d150d2832fe9fd76933dcc (diff) |
test suite: Introduce t-expect-fsck-fail
No functional change.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'tests/tests/drs-push-rejects')
-rwxr-xr-x | tests/tests/drs-push-rejects | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tests/drs-push-rejects b/tests/tests/drs-push-rejects index 79d02b2..8c4ad83 100755 --- 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 - expect_fsck_fail+=" $badtag" + t-expect-fsck-fail $badtag done done @@ -147,7 +147,7 @@ badcommit=$( 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 |