aboutsummaryrefslogtreecommitdiffstats
path: root/test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test.c')
-rw-r--r--test.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/test.c b/test.c
index c1dcdb7..93e4426 100644
--- a/test.c
+++ b/test.c
@@ -98,6 +98,8 @@ extern int errno;
#define FALSE 0
#define SHELL_BOOLEAN(value) (!(value))
+#define TEST_ERREXIT_STATUS 2
+
static procenv_t test_exit_buf;
static int test_error_return;
#define test_exit(val) \
@@ -142,7 +144,7 @@ test_syntax_error (format, arg)
fprintf (stderr, format, arg);
fprintf (stderr, "\n");
fflush (stderr);
- test_exit (SHELL_BOOLEAN (FALSE));
+ test_exit (TEST_ERREXIT_STATUS);
}
/*