diff options
author | Elliott Hughes <enh@google.com> | 2019-11-21 15:05:42 -0800 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2019-11-22 06:53:07 -0600 |
commit | 176c6fa4580571d262434ca2d610c860d30cf876 (patch) | |
tree | 844903af5745f01601c1f2cead56e6970cc6f90b | |
parent | d64dfbabf3261cd64df14c86ba3670256cc25c3c (diff) | |
download | toybox-176c6fa4580571d262434ca2d610c860d30cf876.tar.gz |
env.test: be sure to call toybox env.
This was failing on macOS because it was calling the system env(1).
-rwxr-xr-x | tests/env.test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/env.test b/tests/env.test index 00b56540..6d8928d1 100755 --- a/tests/env.test +++ b/tests/env.test @@ -12,9 +12,9 @@ testcmd "read" "$FILTER" "BANANA=hello\nLETTERS=\nWALRUS=42\n" "" "" testcmd "-u" "-u BANANA $FILTER" "LETTERS=\nWALRUS=42\n" "" "" testcmd "-uu" "-u LETTERS -u WALRUS $FILTER" "BANANA=hello\n" "" "" testcmd "-i" "-i env" "" "" "" -testcmd "-i =" "-i one=two three=four env | sort" \ +testcmd "-i =" "-i one=two three=four $C | sort" \ "one=two\nthree=four\n" "" "" -testcmd "-0" "-i five=six seven=eight env -0 | sort -z" "five=six\0seven=eight\0" "" "" +testcmd "-0" "-i five=six seven=eight $C -0 | sort -z" "five=six\0seven=eight\0" "" "" unset WALRUS BANANA LETTERS FILTER testcmd "early fail" '--oops 2> /dev/null ; echo $?' "125\n" "" "" |