mirror of
https://github.com/urbit/shrub.git
synced 2024-12-19 08:32:39 +03:00
tests: gall runs %pub +on-watch
This commit is contained in:
parent
52637ea2fe
commit
becb1d7f18
@ -14,8 +14,7 @@
|
|||||||
::
|
::
|
||||||
++ on-watch
|
++ on-watch
|
||||||
|= =path
|
|= =path
|
||||||
~& pub-watch+path
|
`this
|
||||||
(on-watch:def +<)
|
|
||||||
::
|
::
|
||||||
++ on-agent
|
++ on-agent
|
||||||
|= [=wire =sign:agent:gall]
|
|= [=wire =sign:agent:gall]
|
||||||
|
@ -71,5 +71,15 @@
|
|||||||
[%pass /sys/req/~nec/pub %g %deal [~nec ~bud] %pub %watch /foo]
|
[%pass /sys/req/~nec/pub %g %deal [~nec ~bud] %pub %watch /foo]
|
||||||
==
|
==
|
||||||
==
|
==
|
||||||
:- t5 |. :- %& ~
|
:- t5 |. :- %|
|
||||||
|
=^ t6 gall.bud
|
||||||
|
%: gall-check-call:v gall.bud
|
||||||
|
[~1111.1.2 0xbeef.dead *roof]
|
||||||
|
:- ~[/sys/req/~nec/pub /bone/~nec/0/1 //unix]
|
||||||
|
[%deal [~nec ~bud] %pub %watch /foo]
|
||||||
|
:~ :- ~[/sys/req/~nec/pub /bone/~nec/0/1 //unix]
|
||||||
|
[%give %unto %watch-ack ~]
|
||||||
|
==
|
||||||
|
==
|
||||||
|
:- t6 |. :- %& ~
|
||||||
--
|
--
|
||||||
|
Loading…
Reference in New Issue
Block a user