2019-12-07 07:44:36 +03:00
|
|
|
:: This tests that syncs are correctly restarted after a breach
|
|
|
|
::
|
2019-10-02 06:25:19 +03:00
|
|
|
/- spider
|
2019-10-02 06:39:49 +03:00
|
|
|
/+ *ph-io
|
2019-11-16 14:25:30 +03:00
|
|
|
=, strand=strand:spider
|
|
|
|
^- thread:spider
|
2019-11-16 04:37:20 +03:00
|
|
|
|= vase
|
2019-11-16 14:25:30 +03:00
|
|
|
=/ m (strand ,vase)
|
|
|
|
;< az=tid:spider bind:m start-azimuth
|
2019-11-15 23:46:11 +03:00
|
|
|
;< ~ bind:m (spawn az ~bud)
|
|
|
|
;< ~ bind:m (spawn az ~marbud)
|
|
|
|
;< ~ bind:m (real-ship az ~bud)
|
|
|
|
;< ~ bind:m (real-ship az ~marbud)
|
|
|
|
;< file=@t bind:m (touch-file ~bud %base %foo)
|
|
|
|
;< ~ bind:m (check-file-touched ~marbud %home file)
|
|
|
|
;< ~ bind:m (breach-and-hear az ~bud ~marbud)
|
|
|
|
;< ~ bind:m (real-ship az ~bud)
|
|
|
|
;< ~ bind:m (dojo ~bud "|merge %base ~marbud %kids, =gem %this")
|
|
|
|
;< file=@t bind:m (touch-file ~bud %base %bar)
|
|
|
|
;< file=@t bind:m (touch-file ~bud %base %baz)
|
|
|
|
;< ~ bind:m (check-file-touched ~marbud %home file)
|
|
|
|
;< ~ bind:m end-azimuth
|
2019-11-10 06:09:02 +03:00
|
|
|
(pure:m *vase)
|