summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorMatthew Ogilvie <mmogilvi_git@miniinfo.net>2010-04-17 02:29:18 (GMT)
committerJunio C Hamano <gitster@pobox.com>2010-04-17 19:40:20 (GMT)
commitf02dd06e26ed9f6f6f265791cfc7bfb48babf3b5 (patch)
tree21cba70e1c41a6c9fd16c4215d18ea356eff5a2a /t
parent39407304f11b4ae1977acd9875b9b8540bff2874 (diff)
downloadgit-f02dd06e26ed9f6f6f265791cfc7bfb48babf3b5.zip
git-f02dd06e26ed9f6f6f265791cfc7bfb48babf3b5.tar.gz
git-f02dd06e26ed9f6f6f265791cfc7bfb48babf3b5.tar.bz2
t6006: do not write to /tmp
Signed-off-by: Matthew Ogilvie <mmogilvi_git@miniinfo.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't')
-rwxr-xr-xt/t6006-rev-list-format.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t6006-rev-list-format.sh b/t/t6006-rev-list-format.sh
index d24ca5c..a49b7c5 100755
--- 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
'