summaryrefslogtreecommitdiffstats
path: root/tests/001
diff options
context:
space:
mode:
Diffstat (limited to 'tests/001')
-rw-r--r--tests/001/query-5.expected7
-rw-r--r--tests/001/query-5.txr4
2 files changed, 11 insertions, 0 deletions
diff --git a/tests/001/query-5.expected b/tests/001/query-5.expected
new file mode 100644
index 00000000..dddf7240
--- /dev/null
+++ b/tests/001/query-5.expected
@@ -0,0 +1,7 @@
+cmd-rx="#/sshd.*/"
+cmd[0]="sshd: kaz [priv] "
+cmd[1]="sshd: kaz@pts/2 "
+cmd[2]="sshd: kaz [priv] "
+cmd[3]="sshd: kaz@pts/4 "
+cmd[4]="sshd: kaz [priv] "
+cmd[5]="sshd: kaz@pts/1 "
diff --git a/tests/001/query-5.txr b/tests/001/query-5.txr
new file mode 100644
index 00000000..7c1ca45d
--- /dev/null
+++ b/tests/001/query-5.txr
@@ -0,0 +1,4 @@
+@(bind cmd-rx #/sshd.*/)
+@(collect)
+@nil @nil @nil @nil @nil @nil @nil @{cmd cmd-rx}
+@(end)