commit 2a32333ed60d6e78cd5d947c39c0db4b9c66f90f from: Sven M. Hallberg date: Sat May 17 16:45:19 2025 UTC adjust testsuite tests to use new pattern (*.tests) commit - 25e116bbe3a7f0ca0b33de6e6e82d2a92b47b21f commit + 2a32333ed60d6e78cd5d947c39c0db4b9c66f90f blob - eb85ddb7879eaf2435d9121993845d7b57d81604 blob + 6f61b5c86339c1c37cb5cb1aa8ba21e53d79b1f8 --- tests/testsuite-error.t +++ tests/testsuite-error.t @@ -4,7 +4,7 @@ # stderr should be passed through and followed by an error report. d=`dirname $0` -export tst=$0.testsuite +export tst=$0.tests exec $d/assert-exercise $0 \ 'run 1 ok 0 fail 0 error 1\n' \ "test test test\\nerror $tst\\n\\n" <$0.err # create the file assert-exercise will use err=`$STAT <$0.err` # stat it exec $d/assert-exercise $0 \ blob - 05fa1d23556e499c8ec25377b62a9c812dfc982a blob + f27d7eb9771fc58f966de15835509fc64a1cd269 --- tests/testsuite.t +++ tests/testsuite.t @@ -1,12 +1,12 @@ #!/bin/sh -# if a test's filename matches *.testsuite its stdout should be parsed as +# if a test's filename matches *.tests its stdout should be parsed as # a summary and get integrated as a set of subtests # an exit code other than 127 should not matter # stderr should be passed through verbatim d=`dirname $0` -export tst=$0.testsuite +export tst=$0.tests exec $d/assert-exercise $0 \ 'run 6 ok 1 fail 2 error 3\n' \ 'test test test\n' <