add new signal tests
[fleet.git] / tests / flags / signal-0-from-inbox-to-inbox.test
diff --git a/tests/flags/signal-0-from-inbox-to-inbox.test b/tests/flags/signal-0-from-inbox-to-inbox.test
new file mode 100644 (file)
index 0000000..264c364
--- /dev/null
@@ -0,0 +1,17 @@
+// expected output
+#expect 0
+
+#ship debug        : Debug
+#ship fifo         : Fifo
+
+debug.in:
+  literal 2;
+  load repeat counter with 1;
+  recv;
+  setflags a=c, b=b;
+  [a]  literal 1;
+  [!a] literal 0;
+  deliver;
+
+fifo.in:
+  notify debug.in:0;