diff options
| author | Jelmer Vernooij <jelmer@samba.org> | 2009-05-21 06:30:40 +0200 |
|---|---|---|
| committer | Jelmer Vernooij <jelmer@samba.org> | 2009-05-21 06:30:40 +0200 |
| commit | 36a8fff948b6775ef1c6fc40edb68dcd89b0ed4e (patch) | |
| tree | c818eff0d52aca0af559243e3127c83e3fc0f971 /shell | |
| parent | 8967de7280e3ac990779e8b51674d2ce9f33b341 (diff) | |
| download | subunit-git-36a8fff948b6775ef1c6fc40edb68dcd89b0ed4e.tar.gz | |
Fix unexpected EOF error in shell function tests.
Diffstat (limited to 'shell')
| -rwxr-xr-x | shell/tests/test_function_output.sh | 6 |
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 |
