Return-Path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=profusion-mobi.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=m9oFl+jj+OKit3G26bVe4itOJ7iwJrTpqbPI3E4O2II=; b=m+35rXThQjz63GcUUoKSLAbE+ODVxs+HIjMrmyS8JIA4o+1Ap1Vb+PHBxqbM0RqBnv 2f52SlAFqCByGmm0j8X3BDbXx5Ji14Oqh5jBzOexkCWjiveBFs5Fw824zoivogZerP1f XaO/ZEFSXFo1KzC73N4M+7LeguQnt4IqgGvZrAUWMYaxE7UdCvpiuUmQaYZn2NeJxuZ9 lrn5/OwP1JmpbgiRJrtmEzzsh3m9xUuQD8muUc//Fl/2Fz+3diQ4NbFtgUS8230G4vaB NWyZ772fqpHbecCqgBGB4cQild+IMPjaVXgKYB1rzginyjyL31i5CFvOygURf/0W4qc9 yiPg== From: Guilherme Campos Camargo Date: Wed, 7 Mar 2018 16:54:59 -0300 Message-Id: <20180307195459.16757-12-guicc@profusion.mobi> In-Reply-To: <20180307195459.16757-1-guicc@profusion.mobi> References: <20180307195459.16757-1-guicc@profusion.mobi> Subject: [Fuego] [PATCH 11/11] Write ok/fail on test report List-Id: Mailing list for the Fuego test framework List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: fuego@lists.linuxfoundation.org Remove the 'minimal test' that had been copied from an example test. Signed-off-by: Guilherme Campos Camargo --- engine/tests/Functional.fuegotest/fuego_test.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/engine/tests/Functional.fuegotest/fuego_test.sh b/engine/tests/Functional.fuegotest/fuego_test.sh index b4755bc..ee60c81 100755 --- a/engine/tests/Functional.fuegotest/fuego_test.sh +++ b/engine/tests/Functional.fuegotest/fuego_test.sh @@ -1,7 +1,5 @@ #!/bin/bash -set -e - readonly fuego_release_dir=fuego-release function test_build { @@ -26,9 +24,13 @@ function test_build { function test_run { sudo -n ${TEST_HOME}/test_run.py "${fuego_release_dir}/fuego" - report "echo ok 1 minimal test on target" + if [ "${?}" = 0 ]; then + report "echo fuego-test: ok" + else + report "echo fuego-test: fail" + fi } function test_processing { - log_compare "$TESTDIR" "1" "^ok" "p" + log_compare "$TESTDIR" "1" "ok$" "p" } -- 2.16.2