]> git.vpit.fr Git - perl/modules/subs-auto.git/blobdiff - t/10-base.t
Test -X _
[perl/modules/subs-auto.git] / t / 10-base.t
index 4d5840ac7b7de5e9756cd58abc26588fa4668f32..33c6fb23c8f37f5162f549780a03bd49ed4cc9e4 100644 (file)
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 
-use Test::More tests => 66;
+use Test::More tests => 67;
 
 my %_re = (
  bareword => sub { qr/^Bareword\s+['"]?\s*$_[0]\s*['"]?\s+not\s+allowed\s+while\s+["']?\s*strict\s+subs\s*['"]?\s+in\s+use\s+at\s+$_[1]\s+line\s+$_[2]/ },
@@ -264,6 +264,8 @@ is($foo, 16, 'foo really was executed');
 eval { blech };
 _got_undefined('blech', __LINE__-1);
 
+ok(-f $0 && -r _, '-X _');
+
 __DATA__
 apple
 pear