test: add 42-sh.sh

This commit is contained in:
Jan Nieuwenhuizen 2018-11-24 13:17:21 +01:00
parent cb05054006
commit 3c7b22febf
5 changed files with 8 additions and 0 deletions

View File

@ -78,6 +78,7 @@ tests='
40-assignment-eval-echo
41-dot
42-sh
50-iohere
50-iohere-builtin

2
test/41-dot.stdout Normal file
View File

@ -0,0 +1,2 @@
bar
bar

2
test/42-sh.sh Normal file
View File

@ -0,0 +1,2 @@
sh test/data/script.sh
echo $foo

2
test/42-sh.stdout Normal file
View File

@ -0,0 +1,2 @@
bar

View File

@ -1 +1,2 @@
foo=bar
echo $foo