test: 42-sh-export: New failing test.

This commit is contained in:
Jan Nieuwenhuizen 2018-12-08 07:55:55 +01:00
parent e77273610d
commit 1d6a0cff99
6 changed files with 12 additions and 3 deletions

View File

@ -96,6 +96,7 @@ tests='
41-dot
42-sh
42-sh-export
50-iohere
50-iohere-builtin

View File

@ -1,2 +1,3 @@
bar
foo:bar
bar:
bar

3
test/42-sh-export.sh Normal file
View File

@ -0,0 +1,3 @@
bar=baz
export baz
sh test/data/script.sh

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

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

View File

@ -1,2 +1,3 @@
bar
foo:bar
bar:

View File

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