git.99rst.org
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
430cabb
)
t0000: use test_path_is_file instead of "test -f"
author
Caleb Tillman
<redacted>
Sat, 17 Oct 2020 02:43:53 +0000
(
02:43
+0000)
committer
Junio C Hamano
<redacted>
Sun, 18 Oct 2020 19:55:25 +0000
(12:55 -0700)
Signed-off-by: Caleb Tillman <redacted>
Signed-off-by: Junio C Hamano <redacted>
t/t0000-basic.sh
patch
|
blob
|
history
diff --git
a/t/t0000-basic.sh
b/t/t0000-basic.sh
index 923281af93981d5b6f67ace54f41849b44ecf0b1..eb99892a877609875be019585bc9693c3b400e6f 100755
(executable)
--- a/
t/t0000-basic.sh
+++ b/
t/t0000-basic.sh
@@
-1191,7
+1191,7
@@
test_expect_success 'writing this tree with --missing-ok' '
test_expect_success 'git read-tree followed by write-tree should be idempotent' '
rm -f .git/index &&
git read-tree $tree &&
- test
-f
.git/index &&
+ test
_path_is_file
.git/index &&
newtree=$(git write-tree) &&
test "$newtree" = "$tree"
'
git clone https://git.99rst.org/PROJECT