diff options
| author | Junio C Hamano <gitster@pobox.com> | 2024-08-01 11:51:12 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-08-01 11:52:11 -0700 |
| commit | 7c7516b8db8b2e6d03379c0e81292cc11e7836bf (patch) | |
| tree | e6903b43b3624bf5f3dbd164c171c19d7040938f | |
| parent | advice: add --no-advice global option (diff) | |
| download | git-7c7516b8db8b2e6d03379c0e81292cc11e7836bf.tar.gz git-7c7516b8db8b2e6d03379c0e81292cc11e7836bf.zip | |
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 <rsbecker@nexbridge.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to '')
| -rwxr-xr-x | t/t0018-advice.sh | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/t/t0018-advice.sh b/t/t0018-advice.sh index b02448ea16..040a08be07 100755 --- a/t/t0018-advice.sh +++ b/t/t0018-advice.sh @@ -93,7 +93,6 @@ EOF >README && GIT_ADVICE=true git status ) >actual && - cat actual > /tmp/actual && test_cmp expect actual ' |
