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