Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Introduce the function strip_path_suffix()
[gitweb.git]
/
t
/
t3101-ls-tree-dirname.sh
diff --git
a/t/t3101-ls-tree-dirname.sh
b/t/t3101-ls-tree-dirname.sh
index 70f9ce9d52827cb35fee7ac0f13471023291d1fa..4dd7d12bac62eae23516686c0ece0edf037f0317 100755
(executable)
--- a/
t/t3101-ls-tree-dirname.sh
+++ b/
t/t3101-ls-tree-dirname.sh
@@
-43,7
+43,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 \