summaryrefslogtreecommitdiff
path: root/tests/test-lstat.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-lstat.c')
-rw-r--r--tests/test-lstat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test-lstat.c b/tests/test-lstat.c
index 3a2d61ec..757b12d9 100644
--- a/tests/test-lstat.c
+++ b/tests/test-lstat.c
@@ -55,5 +55,6 @@ main (void)
/* Remove any leftovers from a previous partial run. */
ignore_value (system ("rm -rf " BASE "*"));
- return test_lstat_func (do_lstat, true);
+ int result = test_lstat_func (do_lstat, true);
+ return (result ? result : test_exit_status);
}