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)
|
2021-06-18 08:54:17 +03:00
|
|
|
;< ~ bind:m start-azimuth
|
|
|
|
;< ~ bind:m (spawn ~bud)
|
|
|
|
;< ~ bind:m (spawn ~marbud)
|
|
|
|
;< ~ bind:m (init-ship ~bud |)
|
|
|
|
;< ~ bind:m (init-ship ~marbud |)
|
2020-05-22 10:30:15 +03:00
|
|
|
;< file=@t bind:m (touch-file ~bud %kids %foo)
|
2019-11-15 23:46:11 +03:00
|
|
|
;< ~ bind:m (check-file-touched ~marbud %home file)
|
2020-08-28 10:24:25 +03:00
|
|
|
:: Merge so that when we unify history with the %only-this merge later, we
|
2020-07-29 07:04:59 +03:00
|
|
|
:: don't get a spurious conflict in %home
|
|
|
|
::
|
|
|
|
;< ~ bind:m (dojo ~marbud "|merge %kids our %home")
|
2021-06-18 08:54:17 +03:00
|
|
|
;< ~ bind:m (breach-and-hear ~bud ~marbud)
|
|
|
|
;< ~ bind:m (init-ship ~bud |)
|
2020-08-28 10:24:25 +03:00
|
|
|
;< ~ bind:m
|
|
|
|
(dojo ~bud "|merge %kids ~marbud %kids, =gem %only-this")
|
2020-05-22 10:30:15 +03:00
|
|
|
;< file=@t bind:m (touch-file ~bud %kids %bar)
|
|
|
|
;< file=@t bind:m (touch-file ~bud %kids %baz)
|
2019-11-15 23:46:11 +03:00
|
|
|
;< ~ bind:m (check-file-touched ~marbud %home file)
|
2021-06-18 08:54:17 +03:00
|
|
|
;< ~ bind:m end
|
2019-11-10 06:09:02 +03:00
|
|
|
(pure:m *vase)
|