summaryrefslogtreecommitdiff
path: root/lib/libc_r/TEST/test_cwd.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc_r/TEST/test_cwd.c')
-rw-r--r--lib/libc_r/TEST/test_cwd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc_r/TEST/test_cwd.c b/lib/libc_r/TEST/test_cwd.c
index 5bb6401d699..9f19d88ab53 100644
--- a/lib/libc_r/TEST/test_cwd.c
+++ b/lib/libc_r/TEST/test_cwd.c
@@ -1,6 +1,7 @@
#include <stdio.h>
#include <sys/param.h>
#include <unistd.h>
+#include "test.h"
int
main(int argc, char **argv)
@@ -9,5 +10,5 @@ main(int argc, char **argv)
printf("getcwd => %s\n", getcwd(wd, MAXPATHLEN));
printf("getwd => %s\n", getwd(wd));
- exit(0);
+ SUCCEED;
}