aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2019-04-20 02:51:51 -0500
committerRob Landley <rob@landley.net>2019-04-20 02:51:51 -0500
commit71c3f623c6011c923788f0770ad40fe2756893a7 (patch)
tree6bbde27b783bb54b0042935c5e750eac5c12364f /tests
parentd8eeedddd0bdcf71d19f2372109c2c897ce8d697 (diff)
downloadtoybox-71c3f623c6011c923788f0770ad40fe2756893a7.tar.gz
New xsetenv() plumbing (repeatedly set same environment variables without
leaking memory), and mod env command to test it.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/env.test1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/env.test b/tests/env.test
index 286fb36c..3098731d 100755
--- a/tests/env.test
+++ b/tests/env.test
@@ -18,3 +18,4 @@ testcmd "-0" "-i five=six seven=eight env -0 | sort -z" "five=six\0seven=eight\0
unset WALRUS BANANA LETTERS FILTER
testcmd "early fail" '--oops 2> /dev/null ; echo $?' "125\n" "" ""
+testcmd "why is this allowed" "=BLAH env | grep '^=BLAH\$'" "=BLAH\n" "" ""