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