[Fuego] [PATCH] Add a new test suite called Functional.busybox.

Wang, Mingyu wangmy at cn.fujitsu.com
Fri May 18 08:34:05 UTC 2018


Hi Tim,

I'm very sorry, there is a problem with the previous patch, please ignore it. The modified patch has been sent as an attachment. Please confirm it.

 Best regards.



-----Original Message-----
From: Wang, Mingyu/王 鸣瑜 
Sent: Friday, May 18, 2018 10:39 PM
To: fuego at lists.linuxfoundation.org
Cc: Wang, Mingyu/王 鸣瑜 <wangmy at cn.fujitsu.com>
Subject: [PATCH] Add a new test suite called Functional.busybox.



Signed-off-by: Wang Mingyu <wangmy at cn.fujitsu.com>
---
 engine/tests/Functional.busybox/fuego_test.sh | 17 +++++++++++++++++
 engine/tests/Functional.busybox/spec.json     |  7 +++++++
 2 files changed, 24 insertions(+)
 create mode 100755 engine/tests/Functional.busybox/fuego_test.sh
 create mode 100644 engine/tests/Functional.busybox/spec.json

diff --git a/engine/tests/Functional.busybox/fuego_test.sh b/engine/tests/Functional.busybox/fuego_test.sh
new file mode 100755
index 0000000..3cc2b85
--- /dev/null
+++ b/engine/tests/Functional.busybox/fuego_test.sh
@@ -0,0 +1,17 @@
+tarball=busybox.tar.gz
+
+
+function test_deploy {
+    put $TEST_HOME/busybox_test.sh $BOARD_TESTDIR/fuego.$TESTDIR/
+    put -r $TEST_HOME/testsuits $BOARD_TESTDIR/fuego.$TESTDIR/ }
+
+function test_run {
+    report "cd $BOARD_TESTDIR/fuego.$TESTDIR; export test_tcpip_host=$SRV_IP; export test_port_host=$SRV_PORT; export httproot_dir_host=fuego/userContent/readme.txt; sh -v busybox_test.sh"
+}
+
+function test_processing {
+    log_compare "$TESTDIR" "89" "pass" "p"
+}
+
+
diff --git a/engine/tests/Functional.busybox/spec.json b/engine/tests/Functional.busybox/spec.json
new file mode 100644
index 0000000..a71218a
--- /dev/null
+++ b/engine/tests/Functional.busybox/spec.json
@@ -0,0 +1,7 @@
+{
+    "testName": "Functional.busybox",
+    "specs": {
+        "default": {}
+    }
+}
+
--
1.8.3.1



-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-a-new-test-suite-called-Functional.busybox.patch
Type: application/octet-stream
Size: 887 bytes
Desc: 0001-Add-a-new-test-suite-called-Functional.busybox.patch
URL: <http://lists.linuxfoundation.org/pipermail/fuego/attachments/20180518/1c6901ad/attachment.obj>


More information about the Fuego mailing list