From e06afaeb7ae3823f9cfd9af61585a34ded91da66 Mon Sep 17 00:00:00 2001
From: Daniel Stenberg <daniel@haxx.se>
Date: Tue, 6 Dec 2005 07:44:18 +0000
Subject: Yang Tse: With last change logging directory needs to be created
 sooner.

---
 tests/runtests.pl | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

(limited to 'tests')

diff --git a/tests/runtests.pl b/tests/runtests.pl
index 9b52e25b7..5ae341742 100755
--- a/tests/runtests.pl
+++ b/tests/runtests.pl
@@ -2035,6 +2035,13 @@ $FTP6PORT =  $base + 6; # FTP IPv6 port
 $TFTPPORT =  $base + 7; # TFTP (UDP) port
 $TFTP6PORT =  $base + 8; # TFTP IPv6 (UDP) port
 
+#######################################################################
+# clear and create logging directory:
+#
+
+cleardir($LOGDIR);
+mkdir($LOGDIR, 0777);
+
 #######################################################################
 # Output curl version and host info being tested
 #
@@ -2043,12 +2050,6 @@ if(!$listonly) {
     checksystem();
 }
 
-#######################################################################
-# clear and create logging directory:
-#
-cleardir($LOGDIR);
-mkdir($LOGDIR, 0777);
-
 #######################################################################
 # If 'all' tests are requested, find out all test numbers
 #
-- 
cgit v1.2.3