@@ -763,7 +763,7 @@ test_expect_success 'format-patch from a subdirectory (1)' '
false
;;
esac &&
- test -f "$filename"
+ test_path_is_file "$filename"
'
test_expect_success 'format-patch from a subdirectory (2)' '
@@ -782,7 +782,7 @@ test_expect_success 'format-patch from a subdirectory (2)' '
;;
esac &&
basename=$(expr "$filename" : ".*/\(.*\)") &&
- test -f "sub/$basename"
+ test_path_is_file "sub/$basename"
'
test_expect_success 'format-patch from a subdirectory (3)' '
@@ -794,7 +794,7 @@ test_expect_success 'format-patch from a subdirectory (3)' '
git format-patch -1 -o "$TRASH_DIRECTORY"
) &&
basename=$(expr "$filename" : ".*/\(.*\)") &&
- test -f "$basename"
+ test_path_is_file "$basename"
'
test_expect_success 'format-patch --in-reply-to' '