summaryrefslogtreecommitdiffstats
path: root/tests/comsub.right
diff options
context:
space:
mode:
Diffstat (limited to 'tests/comsub.right')
-rw-r--r--tests/comsub.right57
1 files changed, 57 insertions, 0 deletions
diff --git a/tests/comsub.right b/tests/comsub.right
new file mode 100644
index 0000000..a329c83
--- /dev/null
+++ b/tests/comsub.right
@@ -0,0 +1,57 @@
+./comsub.tests: line 20: hijkl: command not found
+argv[1] = <ab>
+argv[2] = <cd>
+argv[1] = <abmn>
+argv[2] = <opyz>
+argv[1] = <b>
+argv[1] = <a\>
+argv[2] = <b>
+argv[1] = <$>
+argv[2] = <bab>
+argv[1] = <`>
+argv[2] = <ab>
+argv[1] = <\>
+argv[2] = <ab>
+argv[1] = <foo \\^Jbar>
+argv[1] = <foo \^Jbar>
+argv[1] = <sed> argv[2] = <-e> argv[3] = <s/[^I:]/\^J/g>
+argv[1] = <sed> argv[2] = <-e> argv[3] = <s/[^I:]//g>
+argv[1] = <foo\^Jbar>
+argv[1] = <foobar>
+argv[1] = <foo\^Jbar>
+#esac
+a
+ok 1
+ok 2
+ok 3
+ok 4
+ok 5
+ok 6
+xyz
+ok 7
+\/tmp\/foo\/bar
+/tmp/foo/bar
+/tmp/foo/bar
+/tmp/foo/bar
+1
+2
+3
+4
+5
+6
+5
+6
+a
+b
+c
+a
+b
+c
+1
+2
+d \
+g
+d \
+g
+d \
+g