~ntgg/zosh

6c83c7d4e0e3446ac8b4778e4a03ca80a4cebaff — Noah Graff 4 years ago 270f2b8
added more tests
5 files changed, 13 insertions(+), 1 deletions(-)

M .gitignore
A .gitmodules
A tests/conformance
M tests/subshell.out
M tests/subshell.sh
M .gitignore => .gitignore +4 -1
@@ 1,4 1,5 @@
*
!.gitmodules
!.gitignore
!README.md
!LICENSE


@@ 8,4 9,6 @@
!tests/
!tests/*.sh
!tests/*.out

!tests/conformance
!tests/conformance/*
!tests/conformance/**/*

A .gitmodules => .gitmodules +3 -0
@@ 0,0 1,3 @@
[submodule "tests/conformance"]
	path = tests/conformance
	url = https://github.com/posix-shell-tests/posix-shell-tests.git

A tests/conformance => tests/conformance +1 -0
@@ 0,0 1,1 @@
Subproject commit 8087d2dba62f6b4434927a0240ad2c6a3148f913

M tests/subshell.out => tests/subshell.out +2 -0
@@ 15,3 15,5 @@ a
c
Subshell variables
a
Subshell status
ok

M tests/subshell.sh => tests/subshell.sh +3 -0
@@ 18,3 18,6 @@ echo "Subshell variables"
a=a
(a=b)
echo $a

echo "Subshell status"
(exit 1) && echo "fail" || echo 'ok'