mirror of
https://github.com/tests-always-included/mo.git
synced 2025-04-09 18:21:15 +00:00
Add test that subshell may process automatically-generated declarations
This commit is contained in:
parent
88e7f09227
commit
c4cd099d65
@ -3,6 +3,7 @@ subshell-simple
|
||||
subshell-undeclared
|
||||
subshell-source
|
||||
subshell-export
|
||||
subshell-declare
|
||||
function-list
|
||||
function-unload
|
||||
function-export
|
||||
|
9
meta-tests/subshell-declare.sh
Executable file
9
meta-tests/subshell-declare.sh
Executable file
@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
source ./mo
|
||||
cat <(moDeclare) - << "EOF" | bash
|
||||
source ./run-basic-tests
|
||||
if (( FAIL )); then
|
||||
exit 1
|
||||
fi
|
||||
EOF
|
Loading…
x
Reference in New Issue
Block a user