ash: fix NOEXEC mode - we were forgetting to pass environment!
env: promote to NOEXEC hd: promote to NOEXEC, as hexdump is NOEXEC already
This commit is contained in:
2
shell/ash_test/ash-standalone/noexec_gets_no_env.right
Normal file
2
shell/ash_test/ash-standalone/noexec_gets_no_env.right
Normal file
@@ -0,0 +1,2 @@
|
||||
VAR7=VAL
|
||||
0
|
3
shell/ash_test/ash-standalone/noexec_gets_no_env.tests
Executable file
3
shell/ash_test/ash-standalone/noexec_gets_no_env.tests
Executable file
@@ -0,0 +1,3 @@
|
||||
export VAR7=VAL
|
||||
env | grep ^VAR7=
|
||||
echo $?
|
Reference in New Issue
Block a user