mirror of
https://github.com/git/git.git
synced 2024-12-18 06:14:59 +08:00
t6006: do not write to /tmp
Signed-off-by: Matthew Ogilvie <mmogilvi_git@miniinfo.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
39407304f1
commit
f02dd06e26
@ -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
|
||||
'
|
||||
|
Loading…
Reference in New Issue
Block a user