t6006: do not write to /tmp
Signed-off-by: Matthew Ogilvie <mmogilvi_git@miniinfo.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Matthew Ogilvie committed
Apr 16, 2010 at 20:29 UTC
f02dd06e26ed9f6f6f265791cfc7bfb48babf3b5
1 file changed
+1
-1
t/t6006-rev-list-format.sh
+1
-1
@@ -213,7 +213,7 @@ test_expect_success 'oneline with empty message' '
213
git commit -m "dummy" --allow-empty &&
214
git commit -m "dummy" --allow-empty &&
215
git filter-branch --msg-filter "sed -e s/dummy//" HEAD^^.. &&
216
- git rev-list --oneline HEAD > /tmp/test.txt &&
216
+ git rev-list --oneline HEAD >test.txt &&
217
test $(git rev-list --oneline HEAD | wc -l) -eq 5 &&
218
test $(git rev-list --oneline --graph HEAD | wc -l) -eq 5
219
'