Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
send-email: use Perl idioms in while loop
[gitweb.git]
/
t
/
t4002-diff-basic.sh
diff --git
a/t/t4002-diff-basic.sh
b/t/t4002-diff-basic.sh
index 18695ce8218a7b383258eeb0bad84b4d4bde45be..73441a516572dcf826582c04f3fe9d3ad0c1a88c 100755
(executable)
--- a/
t/t4002-diff-basic.sh
+++ b/
t/t4002-diff-basic.sh
@@
-135,7
+135,7
@@
cmp_diff_files_output () {
# filesystem.
sed <"$2" >.test-tmp \
-e '/^:000000 /d;s/'$x40'\( [MCRNDU][0-9]*\) /'$z40'\1 /' &&
-
diff
"$1" .test-tmp
+
test_cmp
"$1" .test-tmp
}
test_expect_success \