mirror of
https://github.com/urbit/shrub.git
synced 2024-12-18 07:42:20 +03:00
tests: gall runs %pub +on-watch
This commit is contained in:
parent
52637ea2fe
commit
becb1d7f18
@ -14,8 +14,7 @@
|
||||
::
|
||||
++ on-watch
|
||||
|= =path
|
||||
~& pub-watch+path
|
||||
(on-watch:def +<)
|
||||
`this
|
||||
::
|
||||
++ on-agent
|
||||
|= [=wire =sign:agent:gall]
|
||||
|
@ -71,5 +71,15 @@
|
||||
[%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