summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstsp <>2011-04-29 15:26:30 +0000
committerstsp <>2011-04-29 15:26:30 +0000
commit246a14116b208014d1fe291101141c41bcbaed1e (patch)
tree07074cd549cafd7316fe05e557a56fbc9434c5f3
parentf5a4d76852893161d4d1d5c6da7cd8e2e0712d45 (diff)
downloadopenbsd-246a14116b208014d1fe291101141c41bcbaed1e.tar.gz
openbsd-246a14116b208014d1fe291101141c41bcbaed1e.tar.bz2
openbsd-246a14116b208014d1fe291101141c41bcbaed1e.zip
uncomment fwprintf and wprintf tests
-rw-r--r--src/regress/lib/libc/orientation/orientation_test.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/regress/lib/libc/orientation/orientation_test.c b/src/regress/lib/libc/orientation/orientation_test.c
index 4af6a3407b..1067af4f69 100644
--- a/src/regress/lib/libc/orientation/orientation_test.c
+++ b/src/regress/lib/libc/orientation/orientation_test.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: orientation_test.c,v 1.1 2009/11/21 09:56:10 guenther Exp $ */ 1/* $OpenBSD: orientation_test.c,v 1.2 2011/04/29 15:26:30 stsp Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2009 Philip Guenther 4 * Copyright (c) 2009 Philip Guenther
@@ -218,7 +218,7 @@ main(int argc, char *argv[])
218 218
219 219
220 /* WIDE CHAR TIME! */ 220 /* WIDE CHAR TIME! */
221 /* the four functions prefixed with "//X" are unimplemented */ 221 /* the two functions prefixed with "//X" are unimplemented */
222 222
223 /* input */ 223 /* input */
224 TEST_WIDE(getwc(f)); 224 TEST_WIDE(getwc(f));
@@ -231,7 +231,7 @@ main(int argc, char *argv[])
231 TEST_WIDE(putwc(L'c', f)); 231 TEST_WIDE(putwc(L'c', f));
232 TEST_WIDE(fputwc(L'c', f)); 232 TEST_WIDE(fputwc(L'c', f));
233 TEST_WIDE(fputws(L"foo", f)); 233 TEST_WIDE(fputws(L"foo", f));
234//X TEST_WIDE(fwprintf(f, L"%s\n", L"foo")); 234 TEST_WIDE(fwprintf(f, L"%s\n", L"foo"));
235 235
236 /* input from stdin */ 236 /* input from stdin */
237 TEST_WIDE_STD(stdin, getwchar()); 237 TEST_WIDE_STD(stdin, getwchar());
@@ -239,7 +239,7 @@ main(int argc, char *argv[])
239 239
240 /* output to stdout */ 240 /* output to stdout */
241 TEST_WIDE_STD(stdout, putwchar(L'c')); 241 TEST_WIDE_STD(stdout, putwchar(L'c'));
242//X TEST_WIDE_STD(stdout, wprintf(L"foo")); 242 TEST_WIDE_STD(stdout, wprintf(L"foo"));
243 243
244 244
245 TEST_UNCHANGED_STD(stderr, perror("foo")); 245 TEST_UNCHANGED_STD(stderr, perror("foo"));