tests: gall runs %pub +on-watch

This commit is contained in:
Ted Blackman 2022-08-19 16:06:30 +03:00
parent 52637ea2fe
commit becb1d7f18
2 changed files with 12 additions and 3 deletions

View File

@ -14,8 +14,7 @@
::
++ on-watch
|= =path
~& pub-watch+path
(on-watch:def +<)
`this
::
++ on-agent
|= [=wire =sign:agent:gall]

View File

@ -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 |. :- %& ~
--