Add test that functions are not normally inherited

This commit is contained in:
Eric Levy 2022-01-24 17:07:11 -05:00
parent 8aeb20b1c0
commit 61151b307b
2 changed files with 10 additions and 0 deletions

View File

@ -1 +1,2 @@
base
subshell-simple

9
meta-tests/subshell-simple.sh Executable file
View File

@ -0,0 +1,9 @@
#!/usr/bin/env bash
source ./mo
bash << "EOF"
source ./run-basic-tests
if ! (( FAIL )); then
exit 1
fi
EOF