diff options
author | 2011-10-16 14:39:01 +0000 | |
---|---|---|
committer | 2011-10-16 14:39:01 +0000 | |
commit | 46fa3673eec7d7de7f8caf1898d51fd0e35d8fbd (patch) | |
tree | aae30ce5d306568fb277a1a16fde506cff35d5b2 | |
parent | libstdc++ (gcc2) major bump for safety. wscanf and wcsftime were added to libc. (diff) | |
download | wireguard-openbsd-46fa3673eec7d7de7f8caf1898d51fd0e35d8fbd.tar.xz wireguard-openbsd-46fa3673eec7d7de7f8caf1898d51fd0e35d8fbd.zip |
uncomment wscanf tests
-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')); |