summaryrefslogtreecommitdiff
path: root/tests/test-stat.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2024-10-20 15:21:43 +0200
committerJörg Frings-Fürst <debian@jff.email>2024-10-20 15:21:43 +0200
commit4682deeb62247d34de87f8e777f99e2d337fd377 (patch)
tree5bd5b5605b5f3a4b3c8ea7468c34c23094afdef4 /tests/test-stat.c
parent00893e79fc62966067af1a106567db96bd170338 (diff)
New upstream version 1.3upstream/1.3upstream
Diffstat (limited to 'tests/test-stat.c')
-rw-r--r--tests/test-stat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test-stat.c b/tests/test-stat.c
index 53ff77d9..a0a594cf 100644
--- a/tests/test-stat.c
+++ b/tests/test-stat.c
@@ -51,5 +51,6 @@ do_stat (char const *name, struct stat *st)
int
main (void)
{
- return test_stat_func (do_stat, true);
+ int result = test_stat_func (do_stat, true);
+ return (result ? result : test_exit_status);
}