diff options
author | Nick Ing-Simmons <nik@tiuk.ti.com> | 2001-10-19 16:30:43 +0000 |
---|---|---|
committer | Nick Ing-Simmons <nik@tiuk.ti.com> | 2001-10-19 16:30:43 +0000 |
commit | 0af71dba73667d8fa3e845db4ca9d01e3491e5d5 (patch) | |
tree | e479b1a158087d18ea60eeafebeaf073554b1303 /t/op | |
parent | 9f16d962dace601f24c23063432e8a8eb01bfa4a (diff) | |
parent | afa38808e08264de7bcd3b2241ab41424d64d0d4 (diff) | |
download | perl-0af71dba73667d8fa3e845db4ca9d01e3491e5d5.tar.gz |
Integrate mainline
p4raw-id: //depot/perlio@12507
Diffstat (limited to 't/op')
-rwxr-xr-x | t/op/groups.t | 7 | ||||
-rwxr-xr-x | t/op/pat.t | 14 |
2 files changed, 18 insertions, 3 deletions
diff --git a/t/op/groups.t b/t/op/groups.t index 0531826dba..3228729426 100755 --- a/t/op/groups.t +++ b/t/op/groups.t @@ -100,8 +100,11 @@ print "1..2\n"; $pwgid = $( + 0; ($pwgnam) = getgrgid($pwgid); -@basegroup{$pwgid,$pwgnam} = (1,1); - +if ($^O eq 'cygwin') { # basegroup on Cygwin has id = 0. + @basegroup{$pwgid,$pwgnam} = (0,0); +} else { + @basegroup{$pwgid,$pwgnam} = (1,1); +} $seen{$pwgid}++; for (split(' ', $()) { diff --git a/t/op/pat.t b/t/op/pat.t index 0f978d106b..66179212b2 100755 --- a/t/op/pat.t +++ b/t/op/pat.t @@ -6,7 +6,7 @@ $| = 1; -print "1..747\n"; +print "1..750\n"; BEGIN { chdir 't' if -d 't'; @@ -2243,3 +2243,15 @@ print "# some Unicode properties\n"; print "not " unless "\x{AC00}" =~ /\p{HangulSyllable}/; print "ok 747\n"; } + +{ + print "not " unless "\x{0100}" =~ /\p{Script=Latin}/; + print "ok 748\n"; + + print "not " unless "\x{0100}" =~ /\p{Block=LatinExtendedA}/; + print "ok 749\n"; + + print "not " unless "\x{0100}" =~ /\p{Category=UppercaseLetter}/; + print "ok 750\n"; +} + |