]> asedeno.scripts.mit.edu Git - git.git/blobdiff - t/t6006-rev-list-format.sh
t6006: do not write to /tmp
[git.git] / t / t6006-rev-list-format.sh
index d24ca5c077a0cd036645adb23795f1c75fba5d5a..a49b7c5722e6cb675f771c31e4eec87262388548 100755 (executable)
@@ -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
 '