urbit/pkg/arvo/ted/ph/breach-hi-cousin.hoon

28 lines
874 B
Plaintext
Raw Normal View History

:: This is useful to test that we properly hear about breaches outside
:: our sponsorship tree. We usually hear about these via ship-to-ship
:: communication.
::
2019-10-02 06:25:19 +03:00
/- spider
2019-10-02 06:39:49 +03:00
/+ *ph-io
=, strand=strand:spider
^- thread:spider
2019-11-16 04:37:20 +03:00
|= vase
=/ m (strand ,vase)
;< az=tid:spider bind:m
2019-11-16 00:02:37 +03:00
start-azimuth
;< ~ bind:m (spawn az ~bud)
;< ~ bind:m (spawn az ~dev)
;< ~ bind:m (spawn az ~marbud)
;< ~ bind:m (spawn az ~mardev)
;< ~ bind:m (real-ship az ~bud)
;< ~ bind:m (real-ship az ~dev)
;< ~ bind:m (real-ship az ~marbud)
;< ~ bind:m (real-ship az ~mardev)
2019-10-02 06:39:49 +03:00
;< ~ bind:m (send-hi ~marbud ~mardev)
2019-11-16 00:02:37 +03:00
;< ~ bind:m (breach-and-hear az ~mardev ~marbud)
2019-10-02 06:39:49 +03:00
;< ~ bind:m (send-hi-not-responding ~marbud ~mardev)
2019-11-16 00:02:37 +03:00
;< ~ bind:m (real-ship az ~mardev)
2019-10-02 06:39:49 +03:00
;< ~ bind:m (wait-for-output ~marbud "hi ~mardev successful")
;< ~ bind:m end-azimuth
(pure:m *vase)