chiark / gitweb /
test suite: Introduce t-expect-fsck-fail
[dgit.git] / tests / tests / drs-push-rejects
index 79d02b225738514635d629da4d9c17f0e87ca530..8c4ad83cd75acee8b65d289d287404e8f4f05768 100755 (executable)
@@ -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