update tests for 1.0 overhaul
[fleet.git] / tests / torpedo / basic-torpedo.test
diff --git a/tests/torpedo/basic-torpedo.test b/tests/torpedo/basic-torpedo.test
new file mode 100644 (file)
index 0000000..ed611b3
--- /dev/null
@@ -0,0 +1,16 @@
+#expect 20
+#ship debug : Debug
+#ship fifo  : Fifo
+
+debug.in:
+  [L] nop;
+  notify fifo.out;
+  [I] [*] wait;
+  [+] literal 20;
+  [+] deliver;
+  tail;
+
+fifo.out:
+  wait;
+  notify debug.in:i;
+