summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2009-05-21 06:30:40 +0200
committerJelmer Vernooij <jelmer@samba.org>2009-05-21 06:30:40 +0200
commit36a8fff948b6775ef1c6fc40edb68dcd89b0ed4e (patch)
treec818eff0d52aca0af559243e3127c83e3fc0f971 /shell
parent8967de7280e3ac990779e8b51674d2ce9f33b341 (diff)
downloadsubunit-git-36a8fff948b6775ef1c6fc40edb68dcd89b0ed4e.tar.gz
Fix unexpected EOF error in shell function tests.
Diffstat (limited to 'shell')
-rwxr-xr-xshell/tests/test_function_output.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/shell/tests/test_function_output.sh b/shell/tests/test_function_output.sh
index 068abf7..f80d78b 100755
--- a/shell/tests/test_function_output.sh
+++ b/shell/tests/test_function_output.sh
@@ -60,7 +60,8 @@ func_output=$(subunit_fail_test "foo bar" <<END
something
wrong
here
-END)
+END
+)
func_status=$?
if [ $func_status == 0 -a "x$func_output" = "xfailure: foo bar [
something
@@ -81,7 +82,8 @@ func_output=$(subunit_error_test "foo bar" <<END
something
died
here
-END)
+END
+)
func_status=$?
if [ $func_status == 0 -a "x$func_output" = "xerror: foo bar [
something