summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/sbin/Runtest.pl4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/sbin/Runtest.pl b/lib/sbin/Runtest.pl
index 3df906ca..283b5c1d 100644
--- a/lib/sbin/Runtest.pl
+++ b/lib/sbin/Runtest.pl
@@ -427,7 +427,9 @@ sub runtest
}
# clear out test directory
- chdir ("$tsttop${sep}$tp");
+ chdir ("$tsttop");
+ mkdir ($tp,0755);
+ chdir ("$tp");
opendir (DIR, ".");
unlink (grep (/.+\..+/, readdir (DIR)));
closedir (DIR);