projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f17e9fb
)
test-lib: Work around missing sum on Windows
author
Johannes Sixt
<j6t@kdbg.org>
Sat, 14 Mar 2009 21:21:27 +0000
(22:21 +0100)
committer
Johannes Sixt
<j6t@kdbg.org>
Thu, 19 Mar 2009 21:04:25 +0000
(22:04 +0100)
t1002-read-tree-m-u-2way.sh uses 'sum', but it does not rely on the exact
form of the sum, only that it is a hash digest. Therefore, we can sneak
in 'md5sum' under the name 'sum'.
Signed-off-by: Johannes Sixt <j6t@kdbg.org>
t/test-lib.sh
patch
|
blob
|
history
diff --git
a/t/test-lib.sh
b/t/test-lib.sh
index 4eda5aba4b48eb871e684ccd9cd1b6e42439f025..4720b9a92b560ede0bf7171d6f9eb6827e19bdcf 100644
(file)
--- a/
t/test-lib.sh
+++ b/
t/test-lib.sh
@@
-646,5
+646,8
@@
case $(uname -s) in
find () {
/usr/bin/find "$@"
}
+ sum () {
+ md5sum "$@"
+ }
;;
esac