[Fuego] [PATCH 30/33] Add test case to check if telnet is exist or not.

Wang Mingyu wangmy at cn.fujitsu.com
Wed May 8 08:00:38 UTC 2019


Signed-off-by: Wang Mingyu <wangmy at cn.fujitsu.com>
---
 tests/Functional.misc/tests/telnetd.sh | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 tests/Functional.misc/tests/telnetd.sh

diff --git a/tests/Functional.misc/tests/telnetd.sh b/tests/Functional.misc/tests/telnetd.sh
new file mode 100644
index 0000000..acd325a
--- /dev/null
+++ b/tests/Functional.misc/tests/telnetd.sh
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+#  In target, check if telnetd is exist.
+
+test="telnetd"
+
+if [ -f /etc/xinetd.d/telnet ]
+then
+    echo " -> $test: TEST-PASS"
+else
+    echo " -> $test: TEST-FAIL"
+fi
-- 
1.8.3.1





More information about the Fuego mailing list