mirror of
https://github.com/urbit/shrub.git
synced 2024-12-19 08:32:39 +03:00
tests: ames passes %watch to gall on receiver, gall emits %deal to itself
This commit is contained in:
parent
1f9e04ab1c
commit
52637ea2fe
@ -34,12 +34,12 @@
|
|||||||
=^ t3 ames.nec
|
=^ t3 ames.nec
|
||||||
%: ames-check-call:v ames.nec
|
%: ames-check-call:v ames.nec
|
||||||
[~1111.1.1 0xdead.beef *roof]
|
[~1111.1.1 0xdead.beef *roof]
|
||||||
[~[/sys/way/~bud/pub /init] %plea ~bud %g /ge/pub %pub [%0 %s /foo]]
|
[~[/sys/way/~bud/pub /init] %plea ~bud %g /ge/pub [%0 %s /foo]]
|
||||||
:~ :- ~[//unix]
|
:~ :- ~[//unix]
|
||||||
:* %give %send [%& ~nec]
|
:* %give %send [%& ~nec]
|
||||||
0x79ca.8314.59aa.4ee3.b4bf.9f31.8a0b.1ba1.e19d.7b83.
|
0xae59.5b29.277b.22c1.20b7.a8db.9086.46df.31bd.f9bc.
|
||||||
84a0.209b.2000.193c.d818.2da8.9309.759f.9e8c.b88e.
|
2633.7300.17d4.f5fc.8be5.8bfe.5c9d.36d9.2ea1.7cb3.
|
||||||
1cb8.8400.0200.0132.e478.8000
|
8a00.0200.0132.8fd4.f000
|
||||||
==
|
==
|
||||||
:- ~[/ames] [%pass /pump/~bud/0 %b %wait ~1111.1.1..00.00.01]
|
:- ~[/ames] [%pass /pump/~bud/0 %b %wait ~1111.1.1..00.00.01]
|
||||||
==
|
==
|
||||||
@ -50,22 +50,26 @@
|
|||||||
[~1111.1.2 0xbeef.dead *roof]
|
[~1111.1.2 0xbeef.dead *roof]
|
||||||
:- ~[//unix]
|
:- ~[//unix]
|
||||||
:* %hear [%& ~nec]
|
:* %hear [%& ~nec]
|
||||||
0x79ca.8314.59aa.4ee3.b4bf.9f31.8a0b.1ba1.e19d.7b83.
|
0xae59.5b29.277b.22c1.20b7.a8db.9086.46df.31bd.f9bc.
|
||||||
84a0.209b.2000.193c.d818.2da8.9309.759f.9e8c.b88e.
|
2633.7300.17d4.f5fc.8be5.8bfe.5c9d.36d9.2ea1.7cb3.
|
||||||
1cb8.8400.0200.0132.e478.8000
|
8a00.0200.0132.8fd4.f000
|
||||||
==
|
==
|
||||||
:~ :- ~[//unix] [%pass /qos %d %flog %text "; ~nec is your neighbor"]
|
:~ :- ~[//unix] [%pass /qos %d %flog %text "; ~nec is your neighbor"]
|
||||||
:- ~[//unix]
|
:- ~[//unix]
|
||||||
[%pass /bone/~nec/0/1 %g %plea ~nec %g /ge/pub %pub [%0 %s /foo]]
|
[%pass /bone/~nec/0/1 %g %plea ~nec %g /ge/pub [%0 %s /foo]]
|
||||||
==
|
==
|
||||||
==
|
==
|
||||||
:: =^ t3 gall.nec
|
:- t4 |. :- %|
|
||||||
:: %: gall-check-take:v gall.nec
|
=^ t5 gall.bud
|
||||||
:: [~1111.1.2 0xdead.beef *roof]
|
%: gall-check-call:v gall.bud
|
||||||
:: :+ /use/sub/0w1.d6Isf/out/~bud/pub/1/sub
|
[~1111.1.2 0xbeef.dead *roof]
|
||||||
:: ~[/init]
|
:- ~[/bone/~nec/0/1 //unix]
|
||||||
:: [%g %deal [~nec ~bud] %pub %watch /foo]
|
[%plea ~nec %g /ge/pub [%0 %s /foo]]
|
||||||
:: ~
|
:~ :- ~[/init] [%pass /sys/lag %a %heed ~nec]
|
||||||
:: ==
|
:- ~[/init] [%pass /sys/era %j %public-keys (sy ~nec ~)]
|
||||||
:- t4 |. :- %& ~
|
:- ~[/bone/~nec/0/1 //unix]
|
||||||
|
[%pass /sys/req/~nec/pub %g %deal [~nec ~bud] %pub %watch /foo]
|
||||||
|
==
|
||||||
|
==
|
||||||
|
:- t5 |. :- %& ~
|
||||||
--
|
--
|
||||||
|
Loading…
Reference in New Issue
Block a user