mirror of
https://github.com/urbit/shrub.git
synced 2024-12-18 15:55:00 +03:00
test: wip full-run test
This commit is contained in:
parent
776604bf74
commit
34fd7f5adf
@ -63,6 +63,8 @@
|
||||
~& >>> [exp+%spider-start act+p.cage.r.note.q.start-move]
|
||||
(expect !>(|))
|
||||
=/ args
|
||||
:: XX $start-args in %/app/spider/hoon
|
||||
::
|
||||
!< [p=(unit @ta) q=(unit @ta) r=beak s=term t=vase]
|
||||
q.cage.r.note.q.start-move
|
||||
?. =(~ p.args)
|
||||
@ -84,8 +86,27 @@
|
||||
:: !!
|
||||
:: ++ test-khan-take-poke-fail
|
||||
:: !!
|
||||
:: ++ test-khan-take-full-run
|
||||
:: !!
|
||||
++ test-khan-take-full-run
|
||||
=^ born-moves khan-gate
|
||||
%- khan-call :*
|
||||
khan-gate
|
||||
now=~1111.1.1
|
||||
scry=scry-provides-mark
|
||||
call-args=[duct=~[/sup] ~ [%born ~]]
|
||||
==
|
||||
=^ call-moves khan-gate
|
||||
%- khan-call :*
|
||||
khan-gate
|
||||
now=(add ~1111.1.1 ~s1)
|
||||
scry=scry-provides-mark
|
||||
^= call-args
|
||||
:* duct=~[//khan/1/0v0] ~
|
||||
%fyrd
|
||||
%base %nonexistent %noun %noun ~
|
||||
== ==
|
||||
:: TODO take: %watch-ack, %poke-ack, %thread-done %fact, %kick
|
||||
::
|
||||
!!
|
||||
++ khan-call
|
||||
|= $: khan-gate=_khan-gate
|
||||
now=@da
|
||||
@ -94,8 +115,7 @@
|
||||
$: =duct
|
||||
dud=(unit goof)
|
||||
wrapped-task=(hobo task:khan)
|
||||
==
|
||||
==
|
||||
== ==
|
||||
^- [(list move:khan-gate) _khan-gate]
|
||||
=/ khan-core
|
||||
(khan-gate now eny=`@uvJ`0xdead.beef scry=scry)
|
||||
|
Loading…
Reference in New Issue
Block a user