From fc27ec10a72f26831046a3b59d0b94b5ec2cdbe4 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 2 May 2017 19:12:28 +0200 Subject: Exclude timestamp test on FreeBSD, looks like broken strptime() --- tests/timestamp/driver.cxx | 5 +++++ 1 file changed, 5 insertions(+) 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")); -- cgit v1.1