Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'ak/t7800-wo-readlink' into maint
author
Junio C Hamano
<gitster@pobox.com>
Mon, 11 Jul 2016 17:44:15 +0000
(10:44 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 11 Jul 2016 17:44:15 +0000
(10:44 -0700)
One among four invocations of readlink(1) in our test suite has
been rewritten so that the test can run on systems without the
command (others are in valgrind test framework and t9802).
* ak/t7800-wo-readlink:
t7800: readlink may not be available
t/t7800-difftool.sh
patch
|
blob
|
history
raw
(from parent 1:
0c72d6d
)
diff --git
a/t/t7800-difftool.sh
b/t/t7800-difftool.sh
index 7ce4cd753eb0c50f42b68653da79f90b19edd764..42a2929835b5c77e5b3031ce56ad1243afb56971 100755
(executable)
--- a/
t/t7800-difftool.sh
+++ b/
t/t7800-difftool.sh
@@
-446,7
+446,7
@@
write_script .git/CHECK_SYMLINKS <<\EOF
for f in file file2 sub/sub
do
echo "$f"
- readlink "$2/$f"
+ ls -ld "$2/$f" | sed -e 's/.* -> //'
done >actual
EOF