summaryrefslogtreecommitdiff
path: root/libc/string/strsignal.c
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2001-02-19 00:14:42 +0000
committerManuel Novoa III <mjn3@codepoet.org>2001-02-19 00:14:42 +0000
commitf73d7b6a3a729adccb465813c39f6b2bee580917 (patch)
tree7f3806f07915e472993f36ab2eebca20d6133042 /libc/string/strsignal.c
parent3a6d1e638c18d2eaade419dbefaf37e41fe3f19c (diff)
Fix problems with test wrapper and test compiler selection.
Diffstat (limited to 'libc/string/strsignal.c')
-rw-r--r--libc/string/strsignal.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/libc/string/strsignal.c b/libc/string/strsignal.c
index 60acc65b0..e7915b26a 100644
--- a/libc/string/strsignal.c
+++ b/libc/string/strsignal.c
@@ -122,7 +122,7 @@ int main(void)
retcode = EXIT_SUCCESS;
#if WANT_SIGLIST
- printf("_NSIG = %d from headers\n", _NSIG);
+ /*printf("_NSIG = %d from headers\n", _NSIG);*/
for ( i=0 ; sys_siglist[i] ; i++ ) {
j = strlen(sys_siglist[i])+1;
if (j > max) max = j;
@@ -136,13 +136,14 @@ int main(void)
p = strsignal(INT_MIN);
j = strlen(p)+1;
if (j > max) max = j;
- printf("strsignal.c - Test of INT_MIN: <%s> %d\n", p, j);
+ /*printf("strsignal.c - Test of INT_MIN: <%s> %d\n", p, j);*/
if (sizeof(retbuf) != max) {
printf("Error: strsignal.c - dimension of retbuf should be = %d\n", max);
retcode = EXIT_FAILURE;
}
- printf("strsignal.c - dimension of retbuf correct at %d\n", max);
+ /*printf("strsignal.c - dimension of retbuf correct at %d\n", max);*/
+ printf("Passed.\n");
return retcode;
}