Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Adjust for the new way of enabling the default post-update hook
[gitweb.git]
/
t
/
t3100-ls-tree-restrict.sh
diff --git
a/t/t3100-ls-tree-restrict.sh
b/t/t3100-ls-tree-restrict.sh
index 46427e3f365ad0ec09c432f8cedf2106afe4dc08..6e6a2542a22712006ae23874069c55943a3cba27 100755
(executable)
--- a/
t/t3100-ls-tree-restrict.sh
+++ b/
t/t3100-ls-tree-restrict.sh
@@
-35,7
+35,7
@@
_x40='[0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f]'
_x40="$_x40$_x40$_x40$_x40$_x40$_x40$_x40$_x40"
test_output () {
sed -e "s/ $_x40 / X /" <current >check
-
git diff
expected check
+
test_cmp
expected check
}
test_expect_success \