aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests/env.test4
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" "" ""