From 4a8dfb34613732b81f0e4dd7fbaac5df39e395f2 Mon Sep 17 00:00:00 2001
From: Daniel Stenberg <daniel@haxx.se>
Date: Wed, 24 May 2006 15:22:03 +0000
Subject: [PATCH] based on Tor Arntsen's fix, this should correct test case 271
 to again run fine

---
 tests/data/test271   | 2 +-
 tests/server/tftpd.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/data/test271 b/tests/data/test271
index d083484232..d650f9a31a 100644
--- a/tests/data/test271
+++ b/tests/data/test271
@@ -26,7 +26,7 @@ tftp
 TFTP retrieve
  </name>
  <command>
-tftp://%HOSTIP:%TFTPPORT/271 --trace-ascii log/traceit
+tftp://%HOSTIP:%TFTPPORT//271 --trace-ascii log/traceit
 </command>
 </client>
 
diff --git a/tests/server/tftpd.c b/tests/server/tftpd.c
index 5198273931..26e0c40447 100644
--- a/tests/server/tftpd.c
+++ b/tests/server/tftpd.c
@@ -647,7 +647,7 @@ static int validate_access(struct testcase *test,
 
   logmsg("trying to get file: %s mode %x", filename, mode);
 
-  if(!strncmp("/verifiedserver", filename, 15)) {
+  if(!strncmp("verifiedserver", filename, 15)) {
     char weare[128];
     size_t count = sprintf(weare, "WE ROOLZ: %d\r\n", (int)getpid());
 
-- 
GitLab