Add export test.
* tests/42-export-new.sh: New file. * tests/42-export-new.stdout: New file. * Makefile.am (FULL_TESTS, XFAIL_TESTS): Add 42-export-new.sh. Co-authored-by: Timothy Sample <samplet@ngyro.com>
This commit is contained in:
parent
e87f351f3e
commit
56610b0669
|
@ -203,6 +203,7 @@ FULL_TESTS = \
|
|||
tests/41-dot.sh \
|
||||
tests/42-sh.sh \
|
||||
tests/42-sh-export.sh \
|
||||
tests/42-export-new.sh \
|
||||
tests/50-iohere.sh \
|
||||
tests/50-iohere-builtin.sh \
|
||||
tests/50-redirect.sh \
|
||||
|
@ -231,6 +232,7 @@ TESTS = $(UNIT_TESTS) $(FULL_TESTS)
|
|||
|
||||
XFAIL_TESTS = \
|
||||
tests/20-pipe-sed.sh \
|
||||
tests/42-export-new.sh \
|
||||
tests/42-sh-export.sh \
|
||||
tests/70-hash.sh \
|
||||
tests/70-hash-hash.sh \
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
export V
|
||||
|
||||
if [ -n "$V" ]; then
|
||||
echo VEE
|
||||
else
|
||||
echo no VEE
|
||||
fi
|
|
@ -0,0 +1 @@
|
|||
no VEE
|
Loading…
Reference in New Issue