Fix unexpected EOF error in shell function tests.
authorJelmer Vernooij <jelmer@samba.org>
Thu, 21 May 2009 04:30:40 +0000 (06:30 +0200)
committerJelmer Vernooij <jelmer@samba.org>
Thu, 21 May 2009 04:30:40 +0000 (06:30 +0200)
shell/tests/test_function_output.sh

index 068abf7..f80d78b 100755 (executable)
@@ -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