X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/mLib/blobdiff_plain/67b5031ec6d160b5cae425466a34d1be3b211dd4..c91413e6acbc8d157ff52ceb8cd78cee97403584:/test/tests.at diff --git a/test/tests.at b/test/tests.at index 74f40fa..fa4b1d8 100644 --- a/test/tests.at +++ b/test/tests.at @@ -55,7 +55,7 @@ $1 = $2 @show = t ]) check_template([BUILDDIR/t/tvec.t -fh tv], [0], -[left_pad([matched $1], [17]) = $3 +[left_pad([matched $1], [21]) = $3 copy-$1: ok PASSED all 1 test in 1 group ])]) @@ -388,6 +388,43 @@ test_parserr([buffer], [16 EB], [3], [buffer length `16 EB' out of range]) AT_CLEANUP +###-------------------------------------------------------------------------- +AT_SETUP([tvec remote]) + +AT_DATA([tv], +[;;; -*-conf-*- + +@<:@crash@:>@ + +crash = t +x = 1 +z = 0 +@progress = %RUN +@exit = killed | SIGABRT + +crash = nil +x = 0 +z = 0 +@reconnect = skip + +crash = nil +x = 1 +z = 1 + +crash = nil +x = 1 +z = 1 +@progress = %DONE +@exit = running +]) +check_template([BUILDDIR/t/tvec.t -fh tv], [0], +[tv:11: `crash' skipped: no connection +crash: ok (1 skipped) +PASSED 3 tests (1 skipped) in 1 group +]) + +AT_CLEANUP + ###-------------------------------------------------------------------------- AT_SETUP([tvec serialize])