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