diff options
author | Stefan Sperling <stsp@cvs.openbsd.org> | 2011-10-16 14:39:02 +0000 |
---|---|---|
committer | Stefan Sperling <stsp@cvs.openbsd.org> | 2011-10-16 14:39:02 +0000 |
commit | 95e36d7156848ea65df9fd9d015817ea900abf0f (patch) | |
tree | 223d33145bc40468acbb2a1750528dc33c4e543d /regress | |
parent | 3b2e833aa9e6aff5b15b7e75bbd633d83cba3976 (diff) |
uncomment wscanf tests
Diffstat (limited to 'regress')
-rw-r--r-- | regress/lib/libc/orientation/orientation_test.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/regress/lib/libc/orientation/orientation_test.c b/regress/lib/libc/orientation/orientation_test.c index 1067af4f69d..1d0911d12fd 100644 --- a/regress/lib/libc/orientation/orientation_test.c +++ b/regress/lib/libc/orientation/orientation_test.c @@ -1,4 +1,4 @@ -/* $OpenBSD: orientation_test.c,v 1.2 2011/04/29 15:26:30 stsp Exp $ */ +/* $OpenBSD: orientation_test.c,v 1.3 2011/10/16 14:39:01 stsp Exp $ */ /* * Copyright (c) 2009 Philip Guenther @@ -218,14 +218,13 @@ main(int argc, char *argv[]) /* WIDE CHAR TIME! */ - /* the two functions prefixed with "//X" are unimplemented */ /* input */ TEST_WIDE(getwc(f)); TEST_WIDE(fgetwc(f)); TEST_WIDE(wc = fgetwc(f); ungetwc(wc, f)); TEST_WIDE(fgetws(wbuffer, BUFSIZ, f)); -//X TEST_WIDE(fwscanf(f, L"%s\n", wbuffer)); + TEST_WIDE(fwscanf(f, L"%s\n", wbuffer)); /* output */ TEST_WIDE(putwc(L'c', f)); @@ -235,7 +234,7 @@ main(int argc, char *argv[]) /* input from stdin */ TEST_WIDE_STD(stdin, getwchar()); -//X TEST_WIDE_STD(stdin, wscanf(L"%s\n", wbuffer)); + TEST_WIDE_STD(stdin, wscanf(L"%s\n", wbuffer)); /* output to stdout */ TEST_WIDE_STD(stdout, putwchar(L'c')); |