summaryrefslogtreecommitdiff
path: root/tests/test-error.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-error.c')
-rw-r--r--tests/test-error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-error.c b/tests/test-error.c
index 02704d7c..4a1399b2 100644
--- a/tests/test-error.c
+++ b/tests/test-error.c
@@ -85,5 +85,5 @@ main ()
/* Test error() function with nonzero STATUS. */
error (4, 0, "fatal error");
- return 0;
+ return test_exit_status;
}