From fe9a0303c60fa1ff636ac866f1cc73f380503d5b Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Wed, 3 Jul 2019 23:55:17 -0700 Subject: tests: add @{var1 var2} match test. * tests/001/query-5.txr: New file. * tests/001/query-5.expected: New file. * Makefile (tst/tests/001/query-5.ok): Pass -B to txr for this new test. * tests/017/glob-carray.expected: Updated, because the glob test globs over the contents of tests/001 directory. * tests/017/glob-zarray.expected: Likewise. --- tests/001/query-5.expected | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 tests/001/query-5.expected (limited to 'tests/001/query-5.expected') 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 " -- cgit v1.2.3