summaryrefslogtreecommitdiff
path: root/shell/hush_test/hush-standalone/noexec_gets_no_env.tests
diff options
context:
space:
mode:
Diffstat (limited to 'shell/hush_test/hush-standalone/noexec_gets_no_env.tests')
-rwxr-xr-xshell/hush_test/hush-standalone/noexec_gets_no_env.tests5
1 files changed, 5 insertions, 0 deletions
diff --git a/shell/hush_test/hush-standalone/noexec_gets_no_env.tests b/shell/hush_test/hush-standalone/noexec_gets_no_env.tests
new file mode 100755
index 0000000..0d347bd
--- /dev/null
+++ b/shell/hush_test/hush-standalone/noexec_gets_no_env.tests
@@ -0,0 +1,5 @@
+export VAR7=VAL
+env | grep ^VAR7=
+echo $?
+VAR8=VAL env | grep ^VAR8=
+echo $?