From 0755050e6d7d1758cd541a11eca8f4b3cbc7baa7 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 7 Jul 2000 21:06:48 +0000 Subject: Update. 2000-07-07 Ulrich Drepper * 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. --- stdio-common/tst-printf.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'stdio-common/tst-printf.c') 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; } -- cgit 1.4.1