about summary refs log tree commit diff
path: root/stdio-common/bug23-2.c
diff options
context:
space:
mode:
authorCarlos O'Donell <carlos@redhat.com>2023-05-17 09:33:05 -0400
committerCarlos O'Donell <carlos@redhat.com>2023-05-18 12:34:00 -0400
commitb9125aeaed45e10ce329f91f007eb3da43d2155f (patch)
tree4e88e03563e0cf0177aaebbbd64d74b11b44713f /stdio-common/bug23-2.c
parenta08e854d0058ba3a9a8eccc545dd4c3885cc640e (diff)
downloadglibc-b9125aeaed45e10ce329f91f007eb3da43d2155f.tar.gz
glibc-b9125aeaed45e10ce329f91f007eb3da43d2155f.tar.xz
glibc-b9125aeaed45e10ce329f91f007eb3da43d2155f.zip
stdio-common: Adjust tests in Makefile
Sort tests against updated scripts/sort-makefile-lines.py.

No changes in generated code.
No regressions on x86_64 and i686.

Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
Diffstat (limited to 'stdio-common/bug23-2.c')
-rw-r--r--stdio-common/bug23-2.c70
1 files changed, 0 insertions, 70 deletions
diff --git a/stdio-common/bug23-2.c b/stdio-common/bug23-2.c
deleted file mode 100644
index 9e0cfe6860..0000000000
--- a/stdio-common/bug23-2.c
+++ /dev/null
@@ -1,70 +0,0 @@
-#include <stdio.h>
-#include <string.h>
-#include <stdlib.h>
-
-static const char expected[] = "\
-\n\
-a\n\
-abbcd55\
-\n\
-a\n\
-abbcd55\
-\n\
-a\n\
-abbcd55\
-\n\
-a\n\
-abbcd55\
-\n\
-a\n\
-abbcd55\
-\n\
-a\n\
-abbcd55\
-\n\
-a\n\
-abbcd55\
-\n\
-a\n\
-abbcd55\
-\n\
-a\n\
-abbcd55\
-\n\
-a\n\
-abbcd55\
-\n\
-a\n\
-abbcd55\
-\n\
-a\n\
-abbcd55\
-\n\
-a\n\
-abbcd55%%%%%%%%%%%%%%%%%%%%%%%%%%\n";
-
-static int
-do_test (void)
-{
-  char *buf = malloc (strlen (expected) + 1);
-  snprintf (buf, strlen (expected) + 1,
-	    "\n%1$s\n" "%1$s" "%2$s" "%2$s" "%3$s" "%4$s" "%5$d" "%5$d"
-	    "\n%1$s\n" "%1$s" "%2$s" "%2$s" "%3$s" "%4$s" "%5$d" "%5$d"
-	    "\n%1$s\n" "%1$s" "%2$s" "%2$s" "%3$s" "%4$s" "%5$d" "%5$d"
-	    "\n%1$s\n" "%1$s" "%2$s" "%2$s" "%3$s" "%4$s" "%5$d" "%5$d"
-	    "\n%1$s\n" "%1$s" "%2$s" "%2$s" "%3$s" "%4$s" "%5$d" "%5$d"
-	    "\n%1$s\n" "%1$s" "%2$s" "%2$s" "%3$s" "%4$s" "%5$d" "%5$d"
-	    "\n%1$s\n" "%1$s" "%2$s" "%2$s" "%3$s" "%4$s" "%5$d" "%5$d"
-	    "\n%1$s\n" "%1$s" "%2$s" "%2$s" "%3$s" "%4$s" "%5$d" "%5$d"
-	    "\n%1$s\n" "%1$s" "%2$s" "%2$s" "%3$s" "%4$s" "%5$d" "%5$d"
-	    "\n%1$s\n" "%1$s" "%2$s" "%2$s" "%3$s" "%4$s" "%5$d" "%5$d"
-	    "\n%1$s\n" "%1$s" "%2$s" "%2$s" "%3$s" "%4$s" "%5$d" "%5$d"
-	    "\n%1$s\n" "%1$s" "%2$s" "%2$s" "%3$s" "%4$s" "%5$d" "%5$d"
-	    "\n%1$s\n" "%1$s" "%2$s" "%2$s" "%3$s" "%4$s" "%5$d" "%5$d"
-	    "%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n",
-	    "a", "b", "c", "d", 5);
-  return strcmp (buf, expected) != 0;
-}
-
-#define TEST_FUNCTION do_test ()
-#include "../test-skeleton.c"