summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorjmallett <jmallett@FreeBSD.org>2002-06-26 16:57:36 +0000
committerjmallett <jmallett@FreeBSD.org>2002-06-26 16:57:36 +0000
commit1163aebcf2b1878ede1dc30c12660b369c9952a2 (patch)
tree6c5fa35edf8f91d1c09dd945e71a274b62dc4d8c /tools
parent5b8bc2e87b7f8d8e1821c975e9cafbf1820ba8df (diff)
downloadFreeBSD-src-1163aebcf2b1878ede1dc30c12660b369c9952a2.zip
FreeBSD-src-1163aebcf2b1878ede1dc30c12660b369c9952a2.tar.gz
Erk, I forgot that regress.in has an ending newline, so change the test for
transliterate to use echo -n to supress newline and a simple string.
Diffstat (limited to 'tools')
-rw-r--r--tools/regression/usr.bin/sed/regress.sh2
-rw-r--r--tools/regression/usr.bin/sed/regress.y.out5
2 files changed, 2 insertions, 5 deletions
diff --git a/tools/regression/usr.bin/sed/regress.sh b/tools/regression/usr.bin/sed/regress.sh
index e714af2..1176466 100644
--- a/tools/regression/usr.bin/sed/regress.sh
+++ b/tools/regression/usr.bin/sed/regress.sh
@@ -5,6 +5,6 @@ REGRESSION_START($1)
REGRESSION_TEST(`G', `sed G < regress.in')
REGRESSION_TEST(`P', `sed P < regress.in')
REGRESSION_TEST(`psl', `sed \$!g\;P\;D < regress.in')
-REGRESSION_TEST(`y', `sed y/\(\)/{}/ < regress.in')
+REGRESSION_TEST(`y', `echo -n foo | sed y/o/O/')
REGRESSION_END()
diff --git a/tools/regression/usr.bin/sed/regress.y.out b/tools/regression/usr.bin/sed/regress.y.out
index 89671f3..0e24875 100644
--- a/tools/regression/usr.bin/sed/regress.y.out
+++ b/tools/regression/usr.bin/sed/regress.y.out
@@ -1,4 +1 @@
-input
-data
-for validation
-of sed{1}
+fOo \ No newline at end of file
OpenPOWER on IntegriCloud