summaryrefslogtreecommitdiff
path: root/test/args/arg_test.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-07-01 00:09:25 +0000
committerMike Frysinger <vapier@gentoo.org>2005-07-01 00:09:25 +0000
commitffbec081e48741e831f578bfa180705c3202f75f (patch)
tree9678605d35149f4552c04eab47eb192bdd1b48ce /test/args/arg_test.c
parent6eb01343b46aab40475112f05aeaff1a367223df (diff)
make the test silent/non-interactive and only abort if it actually fails
Diffstat (limited to 'test/args/arg_test.c')
-rw-r--r--test/args/arg_test.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/args/arg_test.c b/test/args/arg_test.c
index b99f760c0..acc4465d9 100644
--- a/test/args/arg_test.c
+++ b/test/args/arg_test.c
@@ -36,20 +36,20 @@ int main(int argc, char **argv)
unsigned long sp;
sp = (unsigned long) __builtin_frame_address(0);
if(sp&0xf){
- fprintf(stderr, "stack pointer is unaligned! (%08lx)\n", sp);
+ printf("stack pointer is unaligned! (%08lx)\n", sp);
}
}
#endif
- fprintf(stderr, "argc=%d\n", argc);
+ printf("argc=%d\n", argc);
for(i=0;i<argc;i++) {
- fprintf(stderr, "argv[%d]='%s'\n", i, argv[i]);
+ printf("argv[%d]='%s'\n", i, argv[i]);
}
i=0;
while(*index) {
- fprintf(stderr, "environ[%d]='%s'\n", i++, *index++);
+ printf("environ[%d]='%s'\n", i++, *index++);
}
exit(0);