4242if [ " $WOLFPROV_FORCE_FAIL " = " WOLFPROV_FORCE_FAIL=1" ]; then
4343 # ----- CURL -----
4444 if [ " $TEST_SUITE " = " curl" ]; then
45- if [ -f " tests/ test.log" ]; then
45+ if [ -f " curl- test.log" ]; then
4646 # Extract and clean the failed test list from the log
47- ACTUAL_FAILS=$( grep -a ' ^TESTFAIL: These test cases failed:' tests/ test.log | sed ' s/.*failed: //' )
47+ ACTUAL_FAILS=$( grep -a ' ^TESTFAIL: These test cases failed:' curl- test.log | sed ' s/.*failed: //' )
4848 else
49- echo " Error: tests/ test.log not found"
49+ echo " Error: curl- test.log not found"
5050 exit 1
5151 fi
5252
@@ -188,17 +188,17 @@ if [ "$WOLFPROV_FORCE_FAIL" = "WOLFPROV_FORCE_FAIL=1" ]; then
188188 fi
189189 # ----- NET-SNMP -----
190190 elif [ " $TEST_SUITE " = " net-snmp" ]; then
191- if [ -f " tests/ test.log" ]; then
191+ if [ -f " net-snmp- test.log" ]; then
192192 # Check if we have exactly 29 failed tests and a FAIL result
193- if grep -q " We failed these 29 tests:" tests/ test.log && grep -q " Result: FAIL" tests/ test.log; then
193+ if grep -q " We failed these 29 tests:" net-snmp- test.log && grep -q " Result: FAIL" net-snmp- test.log; then
194194 echo " PASS: net-snmp tests failed as expected with force fail enabled"
195195 exit 0
196196 else
197197 echo " FAIL: net-snmp tests unexpectedly succeeded with force fail enabled"
198198 exit 1
199199 fi
200200 else
201- echo " Error: tests/test.log not found"
201+ echo " Error: tests/net-snmp- test.log not found"
202202 exit 1
203203 fi
204204 # ----- NGINX -----
@@ -218,9 +218,9 @@ if [ "$WOLFPROV_FORCE_FAIL" = "WOLFPROV_FORCE_FAIL=1" ]; then
218218 fi
219219 # ----- STUNNEL -----
220220 elif [ " $TEST_SUITE " = " stunnel" ]; then
221- if [ -f " $GITHUB_WORKSPACE /tests/ stunnel-test.log" ]; then
221+ if [ -f " stunnel-test.log" ]; then
222222 # Check for expected error patterns
223- if grep -q " failed: 41" " $GITHUB_WORKSPACE /tests/ stunnel-test.log" ; then
223+ if grep -q " failed: 41" " stunnel-test.log" ; then
224224 echo " PASS: stunnel tests failed as expected with force fail enabled"
225225 exit 0
226226 else
0 commit comments