diff options
author | Jim Meyering <meyering@fb.com> | 2018-01-06 16:24:10 -0800 |
---|---|---|
committer | Jim Meyering <meyering@fb.com> | 2018-01-06 21:20:48 -0800 |
commit | 915003de198a66ffe5a5692d875c185eb2b9e923 (patch) | |
tree | 5e9544e52cb531ee4698b6b5961b172fed157928 /tests | |
parent | 4a38f715f1fe171f6792f3044bd15d6a263b8c1c (diff) | |
download | diffutils-915003de198a66ffe5a5692d875c185eb2b9e923.tar.gz |
tests: port tests/colors to some env-munging shell
* tests/colors: Also set PATH="$PATH" in env invocation.
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/colors | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/colors b/tests/colors index 9c7021c..3215990 100755 --- a/tests/colors +++ b/tests/colors @@ -85,7 +85,8 @@ returns_ 1 diff --color=auto a b > out || fail=1 gen_exp_default > exp || framework_failure_ compare exp out || fail=1 -returns_ 1 env TERM=dumb diff ---presume-output-tty --color=auto a b > out \ +returns_ 1 env PATH=$PATH TERM=dumb \ + diff ---presume-output-tty --color=auto a b > out \ || fail=1 gen_exp_default > exp || framework_failure_ compare exp out || fail=1 |