diff options
author | Alex Riesen <raa.lkml@gmail.com> | 2006-02-12 19:05:34 +0100 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-02-12 11:36:19 -0800 |
commit | 0dbc4e89bb3ddaaa4230f91d5f59b08f3d33e91b (patch) | |
tree | 83b4a61775c284b8260893439e0009b4e349db20 /t | |
parent | ef1af9d9afe2f402ad60b054ac529c03c4b79299 (diff) | |
download | git-0dbc4e89bb3ddaaa4230f91d5f59b08f3d33e91b.tar.gz |
avoid echo -e, there are systems where it does not work
FreeBSD 4.11 being one example: the built-in echo doesn't have -e,
and the installed /bin/echo does not do "-e" as well.
"printf" works, laking just "\e" and "\xAB'.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 't')
-rwxr-xr-x | t/t3001-ls-files-others-exclude.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t3001-ls-files-others-exclude.sh b/t/t3001-ls-files-others-exclude.sh index fde2bb25fa..6979b7c1c0 100755 --- a/t/t3001-ls-files-others-exclude.sh +++ b/t/t3001-ls-files-others-exclude.sh @@ -68,7 +68,7 @@ test_expect_success \ diff -u expect output' # Test \r\n (MSDOS-like systems) -echo -ne '*.1\r\n/*.3\r\n!*.6\r\n' >.gitignore +printf '*.1\r\n/*.3\r\n!*.6\r\n' >.gitignore test_expect_success \ 'git-ls-files --others with \r\n line endings.' \ |