From f02dd06e26ed9f6f6f265791cfc7bfb48babf3b5 Mon Sep 17 00:00:00 2001 From: Matthew Ogilvie Date: Fri, 16 Apr 2010 20:29:18 -0600 Subject: [PATCH] t6006: do not write to /tmp Signed-off-by: Matthew Ogilvie Signed-off-by: Junio C Hamano --- t/t6006-rev-list-format.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/t6006-rev-list-format.sh b/t/t6006-rev-list-format.sh index d24ca5c07..a49b7c572 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 ' -- 2.30.2