Yang Tse: With last change logging directory needs to be created sooner.

This commit is contained in:
Daniel Stenberg 2005-12-06 07:44:18 +00:00
parent 8c6f654b26
commit e06afaeb7a
1 changed files with 7 additions and 6 deletions

View File

@ -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
#