aboutsummaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
Diffstat (limited to 't')
-rwxr-xr-xt/SMOKE2
-rw-r--r--t/TEST.PL11
2 files changed, 8 insertions, 5 deletions
diff --git a/t/SMOKE b/t/SMOKE
index ede8397..9f53a8f 100755
--- a/t/SMOKE
+++ b/t/SMOKE
@@ -1,6 +1,6 @@
#!/usr/local/bin/perl
# WARNING: this file is generated, do not edit
-# generated on Sun Apr 25 00:00:31 2021
+# generated on Sun Apr 25 14:30:31 2021
# 01: /usr/local/lib/perl5/site_perl/mach/5.32/Apache/TestConfig.pm:1003
# 02: /usr/local/lib/perl5/site_perl/mach/5.32/Apache/TestConfig.pm:1095
# 03: /usr/local/lib/perl5/site_perl/mach/5.32/Apache/TestSmoke.pm:775
diff --git a/t/TEST.PL b/t/TEST.PL
index 6c1c41c..b1778b2 100644
--- a/t/TEST.PL
+++ b/t/TEST.PL
@@ -2,9 +2,12 @@
use strict;
use warnings FATAL => 'all';
-
-use lib qw(lib);
-
+use lib qw/lib/;
use Apache::TestRunPerl ();
-Apache::TestRunPerl->new->run(@ARGV);
+if ($> == 0) {
+ print STDERR "Skipping tests, as they must be run as an unprivileged user\n";
+}
+else {
+ Apache::TestRunPerl->new->run(@ARGV);
+}