mirror of
https://github.com/tests-always-included/mo.git
synced 2025-04-09 18:21:15 +00:00
Add test that unmarking functions for export indeed prevents exportation
This commit is contained in:
parent
84edc13c1e
commit
b1d679b7b4
@ -5,6 +5,7 @@ subshell-source
|
||||
subshell-clean
|
||||
subshell-clean-undeclared
|
||||
subshell-export
|
||||
subshell-unexport
|
||||
subshell-declare
|
||||
function-list
|
||||
function-unload
|
||||
|
11
meta-tests/subshell-unexport.sh
Executable file
11
meta-tests/subshell-unexport.sh
Executable file
@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
source ./mo
|
||||
moExport
|
||||
moUnexport
|
||||
bash << "EOF"
|
||||
source ./run-basic-tests
|
||||
if ! (( FAIL )); then
|
||||
exit 1
|
||||
fi
|
||||
EOF
|
Loading…
x
Reference in New Issue
Block a user