t3404 (rebase -i): introduce helper to check position of HEAD
[gitweb.git] / t / t9300-fast-import.sh
index 7c059204e90722db20bae1d10a0988853f852262..ab48f42d4b4b93fbf7d2c73ac03bcb1b9e243066 100755 (executable)
@@ -321,7 +321,7 @@ test_expect_success \
        'for p in .git/objects/pack/*.pack;do git verify-pack $p||exit;done'
 test_expect_success \
        'C: validate reuse existing blob' \
-       'test $newf = `git rev-parse --verify branch:file2/newf`
+       'test $newf = `git rev-parse --verify branch:file2/newf` &&
         test $oldf = `git rev-parse --verify branch:file2/oldf`'
 
 cat >expect <<EOF