aboutsummaryrefslogtreecommitdiffstats
path: root/t/Support/Systemexec.pm
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2015-03-16 18:16:53 +0100
committerFrédéric Buclin <LpSolit@gmail.com>2015-03-16 18:16:53 +0100
commitf5fb20f4c9fdec61cecfa8a2a7b49b5f5a2e62b8 (patch)
tree9c1f894fea4f768c6e5c5ed2ff15f0573d71da1a /t/Support/Systemexec.pm
parentc26e64e4f13bb7e6d29ab2b1f27bbe26ff048e8b (diff)
downloadbugs-f5fb20f4c9fdec61cecfa8a2a7b49b5f5a2e62b8.tar
bugs-f5fb20f4c9fdec61cecfa8a2a7b49b5f5a2e62b8.tar.gz
bugs-f5fb20f4c9fdec61cecfa8a2a7b49b5f5a2e62b8.tar.bz2
bugs-f5fb20f4c9fdec61cecfa8a2a7b49b5f5a2e62b8.tar.xz
bugs-f5fb20f4c9fdec61cecfa8a2a7b49b5f5a2e62b8.zip
Bug 1137669: 003safesys.t doesn't test any file due to a missing -T argument (and broken syntax in Support::Systemexec)
r=dylan a=glob
Diffstat (limited to 't/Support/Systemexec.pm')
-rw-r--r--t/Support/Systemexec.pm9
1 files changed, 5 insertions, 4 deletions
diff --git a/t/Support/Systemexec.pm b/t/Support/Systemexec.pm
index 65be229e3..e73763f8f 100644
--- a/t/Support/Systemexec.pm
+++ b/t/Support/Systemexec.pm
@@ -11,14 +11,15 @@ use 5.10.1;
use strict;
use warnings;
-require Exporter;
-@ISA = qw(Exporter);
-@EXPORT = qw(system exec);
-@EXPORT_OK = qw();
+use parent qw(Exporter);
+@Support::Systemexec::EXPORT = qw(system exec);
+
sub system($$@) {
1;
}
+
sub exec($$@) {
1;
}
+
1;