summaryrefslogtreecommitdiffstats
path: root/test/tcheck_version.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/tcheck_version.c')
-rw-r--r--test/tcheck_version.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/test/tcheck_version.c b/test/tcheck_version.c
index d8894b3..91d98ef 100644
--- a/test/tcheck_version.c
+++ b/test/tcheck_version.c
@@ -96,7 +96,10 @@ parse(int ac, char **av)
}
/* Handler for SIGABRT - catch the abort signal supposedly from check_version()
- * and exit(134). 134 would have been the return code in Unix systems.
+ * and exit(6). Would have used 134 is the return code in Unix systems
+ * but some systems (e.g., poe in AIX interprets exit(134) the same as
+ * if the process has really been interrupted by the abort signal and prints
+ * extra messages that confuse test script that is looking for matching output.
* This handles the abort signal instead letting it interrupt the OS because
* some systems may produce extra messages and/or produce core dump.
* This tries to eliminate those side effects.
@@ -104,7 +107,7 @@ parse(int ac, char **av)
void
abort_intercept (int UNUSED sig)
{
- HDexit(134);
+ HDexit(6);
}
int