From: Jarkko Hietaniemi Date: Thu, 8 Nov 2001 23:49:42 +0000 (+0000) Subject: Test miscounting. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=61a515a61510e728f2014674d12cb94cb5a90834;p=p5sagit%2Fp5-mst-13.2.git Test miscounting. p4raw-id: //depot/perl@12908 --- 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};