diff options
Diffstat (limited to 't')
-rwxr-xr-x | t/SMOKE | 2 | ||||
-rw-r--r-- | t/TEST.PL | 11 |
2 files changed, 8 insertions, 5 deletions
@@ -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 @@ -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); +} |