diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-07-07 21:06:48 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-07-07 21:06:48 +0000 |
commit | 0755050e6d7d1758cd541a11eca8f4b3cbc7baa7 (patch) | |
tree | 1a9aa3a5d7bd3216f7ab6cb647f7753ae0282789 /stdio-common/tst-printf.c | |
parent | 95b04192abafe633b6bbf9235c6d61e1d79a5186 (diff) | |
download | glibc-0755050e6d7d1758cd541a11eca8f4b3cbc7baa7.tar.gz glibc-0755050e6d7d1758cd541a11eca8f4b3cbc7baa7.tar.xz glibc-0755050e6d7d1758cd541a11eca8f4b3cbc7baa7.zip |
Update.
2000-07-07 Ulrich Drepper <drepper@redhat.com> * stdio-common/Makefile (tests): Remove tst-printf here... (tests-srcs): ...and add it here. (distribute): Add tst-unbputc.sh and tst-printf.sh. Add rules to run tst-printf.sh. * stdio-common/tst-printf.c: Move code around so that there is really no further output where it's stated. * stdio-common/tst-printf.sh: New file.
Diffstat (limited to 'stdio-common/tst-printf.c')
-rw-r--r-- | stdio-common/tst-printf.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/stdio-common/tst-printf.c b/stdio-common/tst-printf.c index 8dccd3fd48..5afa471fca 100644 --- a/stdio-common/tst-printf.c +++ b/stdio-common/tst-printf.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991,92,93,95,96,97,98,99 Free Software Foundation, Inc. +/* Copyright (C) 1991,92,93,95,96,97,98,99, 2000 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -237,10 +237,6 @@ I am ready for my first lesson today."; printf("%.17f\n",(1.0/x/10.0+1.0)*x-x); } - puts ("--- Should be no further output. ---"); - rfg1 (); - rfg2 (); - { char buf[200]; @@ -256,7 +252,7 @@ I am ready for my first lesson today."; char buf[200]; sprintf (buf, "%07Lo", 040000000000ll); - printf ("sprintf (buf, \"%%07Lo\", 040000000000ll) = %s\n", buf); + printf ("sprintf (buf, \"%%07Lo\", 040000000000ll) = %s", buf); if (strcmp (buf, "40000000000") != 0) { @@ -266,6 +262,10 @@ I am ready for my first lesson today."; puts (""); } + puts ("--- Should be no further output. ---"); + rfg1 (); + rfg2 (); + return result != 0; } |