From 61a515a61510e728f2014674d12cb94cb5a90834 Mon Sep 17 00:00:00 2001 From: Jarkko Hietaniemi Date: Thu, 8 Nov 2001 23:49:42 +0000 Subject: [PATCH] Test miscounting. p4raw-id: //depot/perl@12908 --- ext/POSIX/t/posix.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/POSIX/t/posix.t b/ext/POSIX/t/posix.t index f862e0a..81c97e5 100644 --- a/ext/POSIX/t/posix.t +++ b/ext/POSIX/t/posix.t @@ -143,7 +143,7 @@ ok( &POSIX::acos(1.0) == 0.0, 'dynamic loading' ); # didn't detect it. If this fails, try adding # -DSTRUCT_TM_HASZONE to your cflags when compiling ext/POSIX/POSIX.c. # See ext/POSIX/hints/sunos_4.pl and ext/POSIX/hints/linux.pl -print POSIX::strftime("ok 18 # %H:%M, on %D\n", localtime()); +print POSIX::strftime("ok 20 # %H:%M, on %D\n", localtime()); next_test(); # If that worked, validate the mini_mktime() routine's normalisation of @@ -151,7 +151,7 @@ next_test(); sub try_strftime { my $expect = shift; my $got = POSIX::strftime("%a %b %d %H:%M:%S %Y %j", @_); - is($got, $expect, 'validating mini_mktime() and strftime()'); + is($got, $expect, "validating mini_mktime() and strftime(): $expect"); } $lc = &POSIX::setlocale(&POSIX::LC_TIME, 'C') if $Config{d_setlocale}; -- 2.7.4