[Fuego] [PATCH 5/5] Functional.lwip: support custom tftp server IP

Qiu Tingting qiutt at cn.fujitsu.com
Wed Aug 29 09:22:26 UTC 2018


Use TFTP_SRV_IP in board file to set tftp server ip.

Signed-off-by: Qiu Tingting <qiutt at cn.fujitsu.com>
---
 engine/tests/Functional.lwip/fuego_test.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/engine/tests/Functional.lwip/fuego_test.sh b/engine/tests/Functional.lwip/fuego_test.sh
index e0585d1..f57fc3a 100755
--- a/engine/tests/Functional.lwip/fuego_test.sh
+++ b/engine/tests/Functional.lwip/fuego_test.sh
@@ -14,7 +14,7 @@ function test_build {
     make
     cd -
     echo "#!/bin/bash
-    export IP_TEST='192.168.1.3';
+    export IP_TEST='${TFTP_SRV_IP}';
     if ./httpd_test > /dev/null & then echo 'TEST-1 OK'; else echo 'TEST-1 FAIL'; fi;
     sleep 2;
     if wget \${IP_TEST}; then echo 'TEST-2 OK'; else echo 'TEST-2 FAIL'; fi;
-- 
2.7.4





More information about the Fuego mailing list