@@ -203,19 +203,19 @@ test_expect_success 'git p4 clone simple branches' '
203
203
git p4 clone --dest=. --detect-branches //depot@all &&
204
204
git log --all --graph --decorate --stat &&
205
205
git reset --hard p4/depot/branch1 &&
206
- test -f file1 &&
207
- test -f file2 &&
208
- test -f file3 &&
206
+ test_path_is_file file1 &&
207
+ test_path_is_file file2 &&
208
+ test_path_is_file file3 &&
209
209
grep update file2 &&
210
210
git reset --hard p4/depot/branch2 &&
211
- test -f file1 &&
212
- test -f file2 &&
211
+ test_path_is_file file1 &&
212
+ test_path_is_file file2 &&
213
213
test ! -f file3 &&
214
214
! grep update file2 &&
215
215
git reset --hard p4/depot/branch3 &&
216
- test -f file1 &&
217
- test -f file2 &&
218
- test -f file3 &&
216
+ test_path_is_file file1 &&
217
+ test_path_is_file file2 &&
218
+ test_path_is_file file3 &&
219
219
grep update file2 &&
220
220
cd "$cli" &&
221
221
cd branch1 &&
@@ -606,22 +606,22 @@ test_expect_success 'git p4 clone simple branches with base folder on server sid
606
606
git p4 clone --dest=. --use-client-spec --detect-branches //depot@all &&
607
607
git log --all --graph --decorate --stat &&
608
608
git reset --hard p4/depot/branch1 &&
609
- test -f file1 &&
610
- test -f file2 &&
611
- test -f file3 &&
612
- test -f sub_file1 &&
609
+ test_path_is_file file1 &&
610
+ test_path_is_file file2 &&
611
+ test_path_is_file file3 &&
612
+ test_path_is_file sub_file1 &&
613
613
grep update file2 &&
614
614
git reset --hard p4/depot/branch2 &&
615
- test -f file1 &&
616
- test -f file2 &&
615
+ test_path_is_file file1 &&
616
+ test_path_is_file file2 &&
617
617
test ! -f file3 &&
618
- test -f sub_file1 &&
618
+ test_path_is_file sub_file1 &&
619
619
! grep update file2 &&
620
620
git reset --hard p4/depot/branch3 &&
621
- test -f file1 &&
622
- test -f file2 &&
623
- test -f file3 &&
624
- test -f sub_file1 &&
621
+ test_path_is_file file1 &&
622
+ test_path_is_file file2 &&
623
+ test_path_is_file file3 &&
624
+ test_path_is_file sub_file1 &&
625
625
grep update file2 &&
626
626
cd "$cli" &&
627
627
cd branch1 &&
0 commit comments