mirror of
https://github.com/tests-always-included/mo.git
synced 2025-04-09 18:21:15 +00:00
Add test that functions run in child if explicitly imported
This commit is contained in:
parent
0036b48238
commit
9ad445e280
@ -1,3 +1,4 @@
|
||||
base
|
||||
subshell-simple
|
||||
subshell-undeclared
|
||||
subshell-source
|
||||
|
8
meta-tests/subshell-source.sh
Executable file
8
meta-tests/subshell-source.sh
Executable file
@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
bash << "EOF"
|
||||
source ./mo
|
||||
source ./run-basic-tests
|
||||
if (( FAIL )); then
|
||||
exit 1
|
||||
fi
|
Loading…
x
Reference in New Issue
Block a user