mirror of
https://github.com/tests-always-included/mo.git
synced 2025-04-11 10:39:53 +00:00
Add test that unmarking for export works in child shell from original
This commit is contained in:
parent
772eec9672
commit
e1b775a9da
@ -7,6 +7,7 @@ subshell-clean-undeclared
|
||||
subshell-export
|
||||
subshell-export-nested
|
||||
subshell-unexport
|
||||
subshell-unexport-nested
|
||||
subshell-declare
|
||||
function-list
|
||||
function-unload
|
||||
|
13
meta-tests/subshell-unexport-nested.sh
Executable file
13
meta-tests/subshell-unexport-nested.sh
Executable file
@ -0,0 +1,13 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
source ./mo
|
||||
moExport
|
||||
bash << "EOF"
|
||||
moUnexport
|
||||
bash << "EOF2"
|
||||
source ./run-basic-tests
|
||||
if ! (( FAIL )); then
|
||||
exit 1
|
||||
fi
|
||||
EOF2
|
||||
EOF
|
Loading…
x
Reference in New Issue
Block a user