From 09be3dc129795283b7fe5f69514ee7e1fc117454 Mon Sep 17 00:00:00 2001 From: swryan Date: Tue, 12 Mar 2024 13:20:06 -0400 Subject: [PATCH] fix if stmts --- .github/workflows/test_workflow.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test_workflow.yml b/.github/workflows/test_workflow.yml index e4e8a11..692b37e 100644 --- a/.github/workflows/test_workflow.yml +++ b/.github/workflows/test_workflow.yml @@ -84,15 +84,17 @@ jobs: exit 1 fi - if [[! -n `grep "Passed: 7"` ]]; then + if [[ ! -n `grep "Passed: 7" testflo_report.out` ]]; then echo "Expected 7 tests to pass." exit 7 fi - if [[! -n `grep "Failed: 8"` ]]; then + + if [[ ! -n `grep "Failed: 8" testflo_report.out` ]]; then echo "Expected 8 tests to fail." exit 8 fi - if [[! -n `grep "Skipped: 11"` ]]; then + + if [[ ! -n `grep "Skipped: 11" testflo_report.out` ]]; then echo "Expected 11 tests to be skipped." exit 11 fi