]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
conformtest: Correct time.h XPG3 expectations.
authorJoseph Myers <joseph@codesourcery.com>
Thu, 12 May 2016 20:47:15 +0000 (20:47 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Thu, 12 May 2016 20:47:15 +0000 (20:47 +0000)
This patch corrects spurious conformtest expectations of getdate and
getdate_err for XPG3.  (This is not based on a full review of the
expectations, so there may be other issues where the header and tests
agree but are both incorrect.)

Tested for x86_64 and x86.

* conform/data/time.h-data (getdate_err): Do not expect for
[XPG3].
(getdate): Likewise.
* conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
variable.

ChangeLog
conform/Makefile
conform/data/time.h-data

index 8a3bb1fde8651719b12af77376d0e05272a2c92e..78ac7fabf3fa29d5c2b17e68b15f523de5726955 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
 
+       * conform/data/time.h-data (getdate_err): Do not expect for
+       [XPG3].
+       (getdate): Likewise.
+       * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
+       variable.
+
        * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
        (F_ULOCK): Likewise.
        (F_TEST): Likewise.
index 9aa79559d337f52e2c4aab2f6c80c2ace33f3456..b46dc42f06a7b496f94a11dd91a5860a9b5a2873 100644 (file)
@@ -171,7 +171,6 @@ test-xfail-XPG3/signal.h/conform = yes
 test-xfail-XPG3/stdlib.h/conform = yes
 test-xfail-XPG3/string.h/conform = yes
 test-xfail-XPG3/sys/wait.h/conform = yes
-test-xfail-XPG3/time.h/conform = yes
 test-xfail-XPG4/arpa/inet.h/conform = yes
 test-xfail-XPG4/netdb.h/conform = yes
 test-xfail-XPG4/netinet/in.h/conform = yes
index ddd9a074c8bf36fcdd0d7730c93e1552309585ec..9fbe54ed12597cf5e75bf909b61dc64207c45cab 100644 (file)
@@ -72,7 +72,7 @@ type locale_t
 tag {struct sigevent}
 # endif
 
-# if !defined POSIX && !defined POSIX2008
+# if !defined XPG3 && !defined POSIX && !defined POSIX2008
 variable int getdate_err
 # endif
 
@@ -91,7 +91,7 @@ function int clock_nanosleep (clockid_t, int, const struct timespec*, struct tim
 function int clock_settime (clockid_t, const struct timespec*)
 #endif
 function {char*} ctime_r (const time_t*, char*)
-# if !defined POSIX && !defined POSIX2008
+# if !defined XPG3 && !defined POSIX && !defined POSIX2008
 function {struct tm*} getdate (const char*)
 # endif
 function {struct tm*} gmtime_r (const time_t*, struct tm*)