[LTP] [PATCH 1/2] network/xinetd: source test_net.sh for tst_retry

Hangbin Liu haliu@redhat.com
Fri Apr 29 15:45:39 CEST 2016


Fix error: xinetd_tests.sh: line 323: tst_retry: command not found.
tst_retry was defined in test.sh. Since this is a network test, source
test_net.sh directly.

Signed-off-by: Hangbin Liu <haliu@redhat.com>
---
 testcases/network/xinetd/xinetd_tests.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/testcases/network/xinetd/xinetd_tests.sh b/testcases/network/xinetd/xinetd_tests.sh
index e50a511..58fb98e 100755
--- a/testcases/network/xinetd/xinetd_tests.sh
+++ b/testcases/network/xinetd/xinetd_tests.sh
@@ -63,6 +63,7 @@ init()
     export TST_TOTAL=2
     export TCID="xinetd"
     export TST_COUNT=0
+    . test_net.sh
     . daemonlib.sh
 
     if [ -f "/usr/lib/systemd/system/telnet.socket" ]; then
-- 
2.5.5



More information about the ltp mailing list