chiark / gitweb /
@@@ remote works?
[mLib] / test / tests.at
index 74f40faf94631817a2ee6ca62d6c1d92f41348b6..fa4b1d8e2b82586d2cb50e7ac6046fae7060ce11 100644 (file)
@@ -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])