author | Junio C Hamano <gitster@pobox.com> | |
Mon, 20 Jun 2011 21:49:34 +0000 (14:49 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 20 Jun 2011 21:49:34 +0000 (14:49 -0700) | ||
commit | 93d5e0c2087916941934b1e55c979c52f5af3f20 | |
tree | 670a9ca59674b3e7b3eb1adcf9c51a8909b00ff1 | tree | snapshot |
parent | d0042abe14b3aece87595d365d6eba84c3e53327 | commit | diff |
t7810: avoid unportable use of "echo"
Michael J Gruber noticed that under /bin/dash this test failed
(as is expected -- \n in the string can be interpreted by the
command), while it passed with bash. We probably could work it
around by using backquote in front of it, but it is safer and
more readable to avoid "echo" altogether in a case like this.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Michael J Gruber noticed that under /bin/dash this test failed
(as is expected -- \n in the string can be interpreted by the
command), while it passed with bash. We probably could work it
around by using backquote in front of it, but it is safer and
more readable to avoid "echo" altogether in a case like this.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t7810-grep.sh | diff | blob | history |