diff --git a/tests/test1.err b/tests/test1.err index e5a978376..4dd8d5f05 100644 --- a/tests/test1.err +++ b/tests/test1.err @@ -12,7 +12,7 @@ # Simple function tests #################### -# Ensure eval doesn't unnecessarily mess with the exit status +# Testing builtin status #################### # Verify that we can turn stderr into stdout and then pipe it diff --git a/tests/test1.in b/tests/test1.in index 51302c2a3..00a5b8b45 100644 --- a/tests/test1.in +++ b/tests/test1.in @@ -92,10 +92,7 @@ else end echo Test 4 $sta -logmsg "Ensure eval doesn't unnecessarily mess with the exit status" -function empty_func ; end -false ; eval empty_func ; echo $status -true ; eval empty_func ; echo $status +logmsg "Testing builtin status" function test_builtin_status return 1 diff --git a/tests/test1.out b/tests/test1.out index 6c141412d..d2b47bf29 100644 --- a/tests/test1.out +++ b/tests/test1.out @@ -37,9 +37,7 @@ Test 3b pass Test 4 pass #################### -# Ensure eval doesn't unnecessarily mess with the exit status -1 -0 +# Testing builtin status Test 5 pass ####################