diff options
author | Rob Landley <rob@landley.net> | 2019-04-20 02:51:51 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2019-04-20 02:51:51 -0500 |
commit | 71c3f623c6011c923788f0770ad40fe2756893a7 (patch) | |
tree | 6bbde27b783bb54b0042935c5e750eac5c12364f /tests | |
parent | d8eeedddd0bdcf71d19f2372109c2c897ce8d697 (diff) | |
download | toybox-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-x | tests/env.test | 1 |
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" "" "" |