Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
t6006: do not write to /tmp
author
Matthew Ogilvie
<mmogilvi_git@miniinfo.net>
Sat, 17 Apr 2010 02:29:18 +0000
(20:29 -0600)
committer
Junio C Hamano
<gitster@pobox.com>
Sat, 17 Apr 2010 19:40:20 +0000
(12:40 -0700)
Signed-off-by: Matthew Ogilvie <mmogilvi_git@miniinfo.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t6006-rev-list-format.sh
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
3940730
)
diff --git
a/t/t6006-rev-list-format.sh
b/t/t6006-rev-list-format.sh
index d24ca5c077a0cd036645adb23795f1c75fba5d5a..a49b7c5722e6cb675f771c31e4eec87262388548 100755
(executable)
--- a/
t/t6006-rev-list-format.sh
+++ b/
t/t6006-rev-list-format.sh
@@
-213,7
+213,7
@@
test_expect_success 'oneline with empty message' '
git commit -m "dummy" --allow-empty &&
git commit -m "dummy" --allow-empty &&
git filter-branch --msg-filter "sed -e s/dummy//" HEAD^^.. &&
- git rev-list --oneline HEAD >
/tmp/
test.txt &&
+ git rev-list --oneline HEAD >test.txt &&
test $(git rev-list --oneline HEAD | wc -l) -eq 5 &&
test $(git rev-list --oneline --graph HEAD | wc -l) -eq 5
'