projects
/
fleet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
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
+++ b/
tests/flags/signal-0-from-inbox-to-inbox.test
@@ -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;