blob: 0b79e238aa08bcc69bbc517fe2321828e36c6883 [file] [log] [blame]
#!/usr/bin/perl
(-d "../t") and chdir "..";
system("sudo", "-n", "$^X", "-T", "t/root_spamd_x.t",
"--override", "run_root_tests", "1", @ARGV);
($? >> 8 == 0) or die "exec failed";
my $uid = (stat("t"))[4];
system("sudo -n chown -R $uid t/log") if $uid;