cURL / Mailing Lists / curl-library / Single Mail

curl-library

tftp test fix

From: Tor Arntsen <tor_at_spacetec.no>
Date: Fri, 30 Sep 2005 14:08:24 +0200

I only just found out about the big mailing list disaster, was unsubscribed
most of the month and resuscribed today.

Here's a suggested fix for the following problem:
..
test 270...[FTP RETR PASV --ftp-skip-pasv-ip]
-d-p-em- OK (265 out of 297, remaining: 00:24)
sh: ../../curl/tests/server/tftpd: not found <=======
RUN: TFTP server failed verification
test 271 SKIPPED: failed starting TFTP server
..
This is from http://curl.haxx.se/auto/log.cgi?id=20050930073704-4194

Suggested fix follows.
-Tor

Index: tests/runtests.pl
===================================================================
RCS file: /cvsroot/curl/curl/tests/runtests.pl,v
retrieving revision 1.194
diff -u -p -r1.194 runtests.pl
--- tests/runtests.pl 15 Sep 2005 20:25:02 -0000 1.194
+++ tests/runtests.pl 30 Sep 2005 12:07:12 -0000
@@ -733,7 +733,7 @@ sub runtftpserver {
     if($ipv6) {
         $flag .="--ipv6 ";
     }
- $cmd="$srcdir/server/tftpd --pidfile $pidfile $flag $port";
+ $cmd="server/tftpd --pidfile $pidfile $flag $port";
 
     unlink($pidfile);
 
Received on 2005-09-30