[Fuego] [PATCH 8/9] pi_tests: add a positive log_compare

Bird, Timothy Tim.Bird at sony.com
Thu Jan 11 21:40:37 UTC 2018


Nice additions!

Applied. Thanks.
 -- Tim


> -----Original Message-----
> From: fuego-bounces at lists.linuxfoundation.org [mailto:fuego-
> bounces at lists.linuxfoundation.org] On Behalf Of Daniel Sangorrin
> Sent: Thursday, January 11, 2018 12:29 AM
> To: fuego at lists.linuxfoundation.org
> Subject: [Fuego] [PATCH 8/9] pi_tests: add a positive log_compare
> 
> without a positive log_comapre the test could fail without
> us knowing!
> 
> Signed-off-by: Daniel Sangorrin <daniel.sangorrin at toshiba.co.jp>
> ---
>  engine/tests/Functional.pi_tests/fuego_test.sh | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/engine/tests/Functional.pi_tests/fuego_test.sh
> b/engine/tests/Functional.pi_tests/fuego_test.sh
> index a95218a..8df76d3 100755
> --- a/engine/tests/Functional.pi_tests/fuego_test.sh
> +++ b/engine/tests/Functional.pi_tests/fuego_test.sh
> @@ -26,6 +26,8 @@ function test_processing {
>      if [ $? -ne 0 ]; then RETURN_VALUE=1; fi
>      log_compare "$TESTDIR" "0" "is deadlocked!" "n"
>      if [ $? -ne 0 ]; then RETURN_VALUE=1; fi
> +    log_compare "$TESTDIR" "1" "^Total inversion performed" "p"
> +    if [ $? -ne 0 ]; then RETURN_VALUE=1; fi
> 
>      return $RETURN_VALUE
>  }
> --
> 2.7.4
> 
> 
> _______________________________________________
> Fuego mailing list
> Fuego at lists.linuxfoundation.org
> https://lists.linuxfoundation.org/mailman/listinfo/fuego


More information about the Fuego mailing list