aboutsummaryrefslogtreecommitdiff
path: root/tests/timestamp/driver.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-05-02 19:12:28 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-05-02 19:12:28 +0200
commitfc27ec10a72f26831046a3b59d0b94b5ec2cdbe4 (patch)
tree21355a121f59b83dea9150328f477c613f035bdc /tests/timestamp/driver.cxx
parentb8536c43eb2b2c092c5eaefc49f3f309e89b2e8e (diff)
Exclude timestamp test on FreeBSD, looks like broken strptime()
Diffstat (limited to 'tests/timestamp/driver.cxx')
-rw-r--r--tests/timestamp/driver.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/timestamp/driver.cxx b/tests/timestamp/driver.cxx
index f1f33ca..b268e00 100644
--- a/tests/timestamp/driver.cxx
+++ b/tests/timestamp/driver.cxx
@@ -197,7 +197,12 @@ main ()
// of std::get_time() manipulator. So need to be commented out.
//
assert (fail ("Apr 08 19:31:10 2016", "%b %d %H:%M:%S %Y %"));
+
+ // Error is not detected on FreeBSD 11 with Clang/libc++ 3.8.0.
+ //
+#ifndef __FreeBSD__
assert (fail ("Apr 08 19:31:10", "%b %d %H:%M:%S %Y"));
+#endif
assert (parse (
"Apr 8 19:31:10 2016", "%b %d %H:%M:%S %Y", "Apr 08 19:31:10 2016"));