diff options
author | Max Kirillov <max@max630.net> | 2019-02-15 18:42:37 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-02-19 10:19:32 -0800 |
commit | 709417507567d1423acd06f55fb6256af7ad3847 (patch) | |
tree | eef1d99b61d27d602f19df852782b869426f5eff /contrib/credential/netrc/test.netrc.gpg | |
parent | Revert "t5562: replace /dev/zero with a pipe from generate_zero_bytes" (diff) | |
download | tgif-709417507567d1423acd06f55fb6256af7ad3847.tar.xz |
t5562: do not depend on /dev/zero
It was reported [1] that NonStop platform does not have /dev/zero.
The test uses /dev/zero as a dummy input. Passing case (http-backed
failed because of too big input size) should not be reading anything
from it. If http-backend would erroneously try to read any data
returning EOF probably would be even safer than providing some
meaningless data.
Replace /dev/zero with /dev/null to avoid issues with platforms which do
not have /dev/zero.
[1] https://public-inbox.org/git/20190209185930.5256-4-randall.s.becker@rogers.com/
Reported-by: Randall S. Becker <rsbecker@nexbridge.com>
Signed-off-by: Max Kirillov <max@max630.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/credential/netrc/test.netrc.gpg')
0 files changed, 0 insertions, 0 deletions