test: 10-if-redirect.

This commit is contained in:
Jan Nieuwenhuizen 2018-11-10 12:07:07 +01:00
parent 5f2bcb9528
commit 1e81a66926
2 changed files with 6 additions and 0 deletions

View File

@ -50,6 +50,7 @@ tests="
10-if-else
10-else-multiple
10-if-elif
10-if-redirect
11-for
11-for-split-sequence

5
test/10-if-redirect.sh Normal file
View File

@ -0,0 +1,5 @@
if $SHELL --version | grep foobar 2>/dev/null; then
exit 1
else
exit 0
fi