summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/regression/usr.bin/sed/multitest.t4
-rw-r--r--tools/regression/usr.bin/sed/regress.multitest.out/8.211
2 files changed, 5 insertions, 0 deletions
diff --git a/tools/regression/usr.bin/sed/multitest.t b/tools/regression/usr.bin/sed/multitest.t
index 2d808916..9322078 100644
--- a/tools/regression/usr.bin/sed/multitest.t
+++ b/tools/regression/usr.bin/sed/multitest.t
@@ -445,6 +445,10 @@ u2/g' lines1
# set specification (both with --posix and without).
mark '8.19' ; sed 's/l/[/' lines1 | $SED -e 's[\[.[X['
mark '8.20' ; sed 's/l/[/' lines1 | $SED -e 's[\[.[X\[['
+ COMMENT='\ in y command'
+ mark '8.21'
+ echo 'a\b(c' |
+ $SED 'y%ABCDEFGHIJKLMNOPQRSTUVWXYZ, /\\()"%abcdefghijklmnopqrstuvwxyz,------%'
}
test_error()
diff --git a/tools/regression/usr.bin/sed/regress.multitest.out/8.21 b/tools/regression/usr.bin/sed/regress.multitest.out/8.21
new file mode 100644
index 0000000..ec4d9e6
--- /dev/null
+++ b/tools/regression/usr.bin/sed/regress.multitest.out/8.21
@@ -0,0 +1 @@
+a-b-c
OpenPOWER on IntegriCloud