X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fop%2Fcproto.t;h=3bc8b27aa1359f04a05fa0b38ffdbb9f35e5755f;hb=21fa6956243df9cb622bebfa0934ea7923519b4f;hp=3f3e871fa8c1d37bbdd1522e19db3ac685419916;hpb=0d863452f5cac86322a90184dc68dbf446006ed7;p=p5sagit%2Fp5-mst-13.2.git diff --git a/t/op/cproto.t b/t/op/cproto.t index 3f3e871..3bc8b27 100644 --- a/t/op/cproto.t +++ b/t/op/cproto.t @@ -7,11 +7,11 @@ BEGIN { } BEGIN { require './test.pl'; } -plan tests => 234; +plan tests => 238; while () { chomp; - my ($keyword, $proto) = split; + (my $keyword, my $proto, local $TODO) = split " ", $_, 3; if ($proto eq 'undef') { ok( !defined prototype "CORE::".$keyword, $keyword ); } @@ -27,9 +27,9 @@ while () { # the keyword list : __DATA__ -abs (;$) +abs (_) accept (**) -alarm (;$) +alarm (_) and () atan2 ($$) bind (*$) @@ -41,14 +41,14 @@ chmod (@) chomp undef chop undef chown (@) -chr (;$) -chroot (;$) +chr (_) +chroot (_) close (;*) closedir (*) cmp unknown connect (*$) continue () -cos (;$) +cos (_) crypt ($$) dbmclose (\%) dbmopen (\%$$) @@ -68,12 +68,12 @@ endpwent () endservent () eof (;*) eq ($$) -err unknown +err () eval undef exec undef exists undef exit (;$) -exp (;$) +exp (_) fcntl (*$$) fileno (*) flock (*$) @@ -109,35 +109,36 @@ getservbyport ($$) getservent () getsockname (*) getsockopt (*$$) +given undef glob undef gmtime (;$) goto undef grep undef gt ($$) -hex (;$) +hex (_) if undef index ($$;$) -int (;$) +int (_) ioctl (*$$) join ($@) keys (\%) kill (@) last undef -lc (;$) -lcfirst (;$) +lc (_) +lcfirst (_) le ($$) -length (;$) +length (_) link ($$) listen (*$) local undef localtime (;$) lock (\$) -log (;$) +log (_) lstat (*) lt ($$) m undef map undef -mkdir (;$$) +mkdir (_;$) msgctl ($$$) msgget ($$) msgrcv ($$$$$) @@ -147,11 +148,11 @@ ne ($$) next undef no undef not ($) -oct (;$) +oct (_) open (*;$@) opendir (*$) or () -ord (;$) +ord (_) our undef pack ($@) package undef @@ -165,18 +166,18 @@ push (\@@) q undef qq undef qr undef -quotemeta (;$) +quotemeta (_) qw undef qx undef rand (;$) read (*\$$;$) readdir (*) readline (;*) -readlink (;$) -readpipe unknown +readlink (_) +readpipe (_) recv (*\$$$) redo undef -ref (;$) +ref (_) rename ($$) require undef reset (;$) @@ -184,8 +185,9 @@ return undef reverse (@) rewinddir (*) rindex ($$;$) -rmdir (;$) +rmdir (_) s undef +say undef scalar undef seek (*$$) seekdir (*$) @@ -209,7 +211,7 @@ shmget ($$$) shmread ($$$$) shmwrite ($$$$) shutdown (*$) -sin (;$) +sin (_) sleep (;$) socket (*$$$) socketpair (**$$$) @@ -217,9 +219,10 @@ sort undef splice (\@;$$@) split undef sprintf ($@) -sqrt (;$) +sqrt (_) srand (;$) stat (*) +state undef study undef sub undef substr ($$;$$) @@ -238,8 +241,8 @@ time () times () tr undef truncate ($$) -uc (;$) -ucfirst (;$) +uc (_) +ucfirst (_) umask (;$) undef undef unless undef @@ -256,6 +259,7 @@ wait () waitpid ($$) wantarray () warn (@) +when undef while undef write (;*) x unknown