Return-Path: From: Wang Mingyu Date: Fri, 18 May 2018 07:38:39 -0700 Message-ID: <1526654319-99764-1-git-send-email-wangmy@cn.fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain Subject: [Fuego] [PATCH] Add a new test suite called Functional.busybox. List-Id: Mailing list for the Fuego test framework List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: fuego@lists.linuxfoundation.org Signed-off-by: Wang Mingyu --- 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