From 176c6fa4580571d262434ca2d610c860d30cf876 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Thu, 21 Nov 2019 15:05:42 -0800 Subject: env.test: be sure to call toybox env. This was failing on macOS because it was calling the system env(1). --- tests/env.test | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') 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" "" "" -- cgit v1.2.3