summaryrefslogtreecommitdiffstats
path: root/tools/regression/lib/libc/stdio/test-perror.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/regression/lib/libc/stdio/test-perror.c')
-rw-r--r--tools/regression/lib/libc/stdio/test-perror.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/regression/lib/libc/stdio/test-perror.c b/tools/regression/lib/libc/stdio/test-perror.c
index 7d83155..992b734 100644
--- a/tools/regression/lib/libc/stdio/test-perror.c
+++ b/tools/regression/lib/libc/stdio/test-perror.c
@@ -51,6 +51,8 @@ main(int argc, char *argv[])
int i;
char *s;
+ printf("1..1\n");
+
strcpy(tmpfil, _PATH_TMP "perror.XXXXXXXX");
if (mkstemp(tmpfil) < 0)
err(1, "mkstemp");
@@ -92,7 +94,7 @@ main(int argc, char *argv[])
assert(s == NULL);
fclose(stderr);
- printf("PASS perror()\n");
+ printf("ok 1 - perror()\n");
return (0);
}
OpenPOWER on IntegriCloud