add two test cases: one-instruction-loop.fleet and infinite-nop-is-torpedoable.fleet
[fleet.git] / tests / torpedo / basic-torpedo.test
index ed611b3..6181121 100644 (file)
@@ -1,16 +1,18 @@
+#skip
 #expect 20
 #ship debug : Debug
 #ship fifo  : Fifo
 
 debug.in:
-  [L] nop;
-  notify fifo.out;
-  [I] [*] wait;
-  [+] literal 20;
-  [+] deliver;
+  [Rq] nop;
+  send token to fifo.out;
+  set ilc=*;
+  [T] recv token;
+  [*] set word= 20;
+  [*] deliver;
   tail;
 
 fifo.out:
-  wait;
-  notify debug.in:i;
+  recv token;
+  send token to debug.in:i;