8 do_test (int argc
, char *argv
[])
11 (void) freopen (argc
== 1 ? "/dev/stdout" : argv
[1], "a", stderr
);
12 /* Orient the stream. */
13 fwprintf (stderr
, L
"hello world\n");
15 static const char str
[] = "hello world! ";
16 for (int i
= 0; i
< 1000; ++i
)
17 memcpy (&buf
[i
* (sizeof (str
) - 1)], str
, sizeof (str
));
25 #define TEST_FUNCTION do_test (argc, argv)
26 #include "../test-skeleton.c"