Merge branch 'fc/git-complete-helper' into fc/git-prompt-script
[gitweb.git] / t / t9807-git-p4-submit.sh
index a2499ee02480fc02c11201b8a6fdf24a88ecb7db..f23b4c3620592704cac35839a010ce55de139da7 100755 (executable)
@@ -158,7 +158,8 @@ test_expect_success 'submit copy' '
        ) &&
        (
                cd "$cli" &&
-               test_path_is_file file5.ta
+               test_path_is_file file5.ta &&
+               test ! -w file5.ta
        )
 '
 
@@ -176,7 +177,8 @@ test_expect_success 'submit rename' '
        (
                cd "$cli" &&
                test_path_is_missing file6.t &&
-               test_path_is_file file6.ta
+               test_path_is_file file6.ta &&
+               test ! -w file6.ta
        )
 '