git p4 test: use test_chmod for cygwin
[gitweb.git] / t / t9809-git-p4-client-view.sh
index a9119889ffe42780e2dd23dfb619c8cf27dc9053..77f63492d90e61500e6665ba447fbbad7a8c7b3b 100755 (executable)
@@ -333,7 +333,7 @@ test_expect_success 'subdir clone, submit copy' '
        (
                cd "$cli" &&
                test_path_is_file dir1/file11a &&
-               test ! -w dir1/file11a
+               ! is_cli_file_writeable dir1/file11a
        )
 '
 
@@ -353,7 +353,7 @@ test_expect_success 'subdir clone, submit rename' '
                cd "$cli" &&
                test_path_is_missing dir1/file13 &&
                test_path_is_file dir1/file13a &&
-               test ! -w dir1/file13a
+               ! is_cli_file_writeable dir1/file13a
        )
 '