diff options
| -rw-r--r-- | tests/include.rc | 6 | 
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/include.rc b/tests/include.rc index 26f3ee73789..39d824e64ba 100644 --- a/tests/include.rc +++ b/tests/include.rc @@ -143,7 +143,11 @@ function _EXPECT()  	shift;  	a=$("$@" | tail -1) -	test_expect_footer "$e" "$a"; +        if [ "x$e" = "x" ] ; then +	        test_expect_footer "x$e" "x$a"; +        else +	        test_expect_footer "$e" "$a"; +        fi  }  function test_expect_not_footer()  | 
