@@ -352,20 +352,20 @@ else
352352fi
353353
354354# ---------------------------------------------------------------------------
355- # Test i: post-batch with NEXT : output from test-batched.sh exits 2 (pending)
355+ # Test i: post-batch with RUN : output from test-batched.sh exits 2 (pending)
356356# ---------------------------------------------------------------------------
357357echo " "
358- echo " Test i: post-batch / NEXT : output from test-batched.sh → exit 2 (dso-qlgq)"
358+ echo " Test i: post-batch / RUN : output from test-batched.sh → exit 2 (dso-qlgq, 2731-c62d )"
359359write_all_pass_config
360360
361361STUB_NEXT=" $TMPDIR /stub-test-batched-next.sh"
362362STUB_SENTINEL_I=" $TMPDIR /test-batched-called-i"
363363cat > " $STUB_NEXT " << 'STUB '
364364#!/usr/bin/env bash
365- # Stub: simulate a partial (time-bounded) run — emit NEXT : and exit 0
365+ # Stub: simulate a partial (time-bounded) run — emit RUN : and exit 0
366366touch "$STUB_SENTINEL_PATH"
367367echo "0/1 tests completed."
368- echo "NEXT : TEST_BATCHED_STATE_FILE=/tmp/state.json bash /path/to/test-batched.sh 'bash tests/run-all.sh'"
368+ echo "RUN : TEST_BATCHED_STATE_FILE=/tmp/state.json bash /path/to/test-batched.sh 'bash tests/run-all.sh'"
369369exit 0
370370STUB
371371chmod +x " $STUB_NEXT "
@@ -380,15 +380,15 @@ RUN_OUTPUT=$(
380380) || RUN_EXIT=$?
381381
382382if [ " $RUN_EXIT " -eq 2 ]; then
383- pass " post-batch NEXT : pending: exit 2"
383+ pass " post-batch RUN : pending: exit 2"
384384else
385- fail " post-batch NEXT : pending: expected exit 2 (pending), got $RUN_EXIT (output: $RUN_OUTPUT )"
385+ fail " post-batch RUN : pending: expected exit 2 (pending), got $RUN_EXIT (output: $RUN_OUTPUT )"
386386fi
387387
388388if echo " $RUN_OUTPUT " | grep -q " TESTS: PENDING" ; then
389- pass " post-batch NEXT : pending: output has TESTS: PENDING"
389+ pass " post-batch RUN : pending: output has TESTS: PENDING"
390390else
391- fail " post-batch NEXT : pending: output missing TESTS: PENDING (output: $RUN_OUTPUT )"
391+ fail " post-batch RUN : pending: output missing TESTS: PENDING (output: $RUN_OUTPUT )"
392392fi
393393
394394# ---------------------------------------------------------------------------
0 commit comments