Skip to content

Commit 7c7516b

Browse files
committed
t0018: remove leftover debugging cruft
The actual file is copied out to /tmp, presumably so that the tester can inspect it after the test is done, which may have been a useful debugging aid. But in the final shape of the test suite, such a code should not exist. We cannot even assume that we are allowed to write into /tmp (our TMPDIR may not even be pointing at it) or read from it for that matter. Noticed-by: Randall S. Becker <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent b79deeb commit 7c7516b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

t/t0018-advice.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@ EOF
9393
>README &&
9494
GIT_ADVICE=true git status
9595
) >actual &&
96-
cat actual > /tmp/actual &&
9796
test_cmp expect actual
9897
'
9998

0 commit comments

Comments
 (0)