diff options
author | Jari Aalto <jari.aalto@cante.net> | 1999-02-19 17:11:39 +0000 |
---|---|---|
committer | Jari Aalto <jari.aalto@cante.net> | 2009-09-12 16:46:52 +0000 |
commit | b72432fdcc59300c6fe7c9d6c8a31ad3447933f5 (patch) | |
tree | b9899162338c2ff3fd83a8aef8831cb119e85cd7 /test.c | |
parent | bc4cd23ce958feda898c618215f94d8a4e8f4ffa (diff) | |
download | bash-b72432fdcc59300c6fe7c9d6c8a31ad3447933f5.tar.gz |
Imported from ../bash-2.03.tar.gz.
Diffstat (limited to 'test.c')
-rw-r--r-- | test.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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); } /* |