author | Junio C Hamano <gitster@pobox.com> | |
Fri, 3 Dec 2010 20:28:00 +0000 (12:28 -0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 3 Dec 2010 20:28:00 +0000 (12:28 -0800) | ||
commit | 491e359c949ef7b7ed3fd24ba59f1b7e4cc17e87 | |
tree | 7c5820e430274ccae2cc54aea5557f57cd747d16 | tree | snapshot |
parent | 777f80d7429b0f2687cb9ff40f82b196b78384ff | commit | diff |
t9300: remove unnecessary use of /dev/stdin
We really shouldn't be using these funny /dev/* files that did not exist
in V7 UNIX in our tests when we do not have to.
Output from
$ git grep -n -e /dev/ --and --not -e /dev/null t/
tells us that, aside from use of /dev/urandom in apache.conf used in http
tests, "dd if=/dev/stdin" added recently to t/t9300-fast-import.sh are the
only offenders, and "dd" reads from the standard input by default, so
removing them should be straightforward.
Reported-by: Thomas Rast <trast@student.ethz.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
We really shouldn't be using these funny /dev/* files that did not exist
in V7 UNIX in our tests when we do not have to.
Output from
$ git grep -n -e /dev/ --and --not -e /dev/null t/
tells us that, aside from use of /dev/urandom in apache.conf used in http
tests, "dd if=/dev/stdin" added recently to t/t9300-fast-import.sh are the
only offenders, and "dd" reads from the standard input by default, so
removing them should be straightforward.
Reported-by: Thomas Rast <trast@student.ethz.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t9300-fast-import.sh | diff | blob | history |