Merge branch 'jk/ident-ai-canonname-could-be-null' into maint
[gitweb.git] / t / t9801-git-p4-branch.sh
index 0aafd03334125d1af23acdff3f396b1bdabaf6c1..6a86d6996b97de0bed0503021b76b33db8441029 100755 (executable)
@@ -300,7 +300,7 @@ test_expect_success 'git p4 clone complex branches' '
                test_path_is_file file2 &&
                test_path_is_file file3 &&
                ! grep update file2 &&
-               test_path_is_missing .git/git-p4-tmp
+               test_must_fail git show-ref --verify refs/git-p4-tmp
        )
 '
 
@@ -352,7 +352,7 @@ test_expect_success 'git p4 sync changes to two branches in the same changelist'
                test_path_is_file file2 &&
                test_path_is_file file3 &&
                ! grep update file2 &&
-               test_path_is_missing .git/git-p4-tmp
+               test_must_fail git show-ref --verify refs/git-p4-tmp
        )
 '