diff options
author | Tharre <tharre3@gmail.com> | 2015-05-25 17:18:31 +0200 |
---|---|---|
committer | Tharre <tharre3@gmail.com> | 2015-05-25 17:18:31 +0200 |
commit | 79f3225ea4aea93ea963b8b41ecd518b9fd20eea (patch) | |
tree | 0849eeb8b080f06810a2aed59a80a9468c6b92d8 /tests/include.sh | |
parent | c7712dfd7bf2734e339096d3274f5b0bef2b4335 (diff) | |
download | redo-79f3225ea4aea93ea963b8b41ecd518b9fd20eea.tar.gz redo-79f3225ea4aea93ea963b8b41ecd518b9fd20eea.tar.xz redo-79f3225ea4aea93ea963b8b41ecd518b9fd20eea.zip |
Fix some sh compatibility problems
Diffstat (limited to 'tests/include.sh')
-rw-r--r-- | tests/include.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/include.sh b/tests/include.sh index 7052585..317ab52 100644 --- a/tests/include.sh +++ b/tests/include.sh @@ -1,7 +1,9 @@ assert() { - if source /dev/stdin; then + set +e + if . /dev/stdin; then echo "PASS: $1" >&2 else echo "FAIL: $1" >&2 fi + set -e } |