summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsource4/selftest/selftest.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/selftest/selftest.pl b/source4/selftest/selftest.pl
index b0b53a16f1..3506700f69 100755
--- a/source4/selftest/selftest.pl
+++ b/source4/selftest/selftest.pl
@@ -717,7 +717,7 @@ if ($opt_format eq "buildfarm") {
$msg_ops = new output::plain($opt_verbose, $opt_immediate, $statistics);
} elsif ($opt_format eq "html") {
require output::html;
- mkdir "test-results";
+ mkdir("test-results", 0777);
$msg_ops = new output::html("test-results", $statistics);
} else {
die("Invalid output format '$opt_format'");