[PATCH] t6006: do not write to /tmp
From: Matthew Ogilvie <hidden>
Date: 2016-06-15 22:48:39
Subsystem:
the rest · Maintainer:
Linus Torvalds
From: Matthew Ogilvie <hidden>
Date: 2016-06-15 22:48:39
Subsystem:
the rest · Maintainer:
Linus Torvalds
Signed-off-by: Matthew Ogilvie <redacted> --- t/t6006-rev-list-format.sh | 2 +- 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..53bf8f4 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 '
--
1.7.0.GIT