Fix unexpected EOF error in shell function tests.

This commit is contained in:
Jelmer Vernooij
2009-05-21 06:30:40 +02:00
parent 8967de7280
commit 36a8fff948

View File

@@ -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