diff options
-rw-r--r-- | tools/regression/usr.bin/sed/regress.not.out | 1 | ||||
-rw-r--r-- | tools/regression/usr.bin/sed/regress.sh | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/tools/regression/usr.bin/sed/regress.not.out b/tools/regression/usr.bin/sed/regress.not.out new file mode 100644 index 0000000..257cc56 --- /dev/null +++ b/tools/regression/usr.bin/sed/regress.not.out @@ -0,0 +1 @@ +foo diff --git a/tools/regression/usr.bin/sed/regress.sh b/tools/regression/usr.bin/sed/regress.sh index 34b0cb7..98282ef 100644 --- a/tools/regression/usr.bin/sed/regress.sh +++ b/tools/regression/usr.bin/sed/regress.sh @@ -2,7 +2,7 @@ REGRESSION_START($1) -echo '1..24' +echo '1..25' REGRESSION_TEST(`G', `sed G < regress.in') REGRESSION_TEST(`P', `sed P < regress.in') @@ -69,5 +69,6 @@ REGRESSION_TEST(`icase3', `sed s/SED/Foo/ < regress.in') REGRESSION_TEST(`hanoi', `echo ":abcd: : :" | sed -f hanoi.sed') REGRESSION_TEST(`math', `echo "4+7*3+2^7/3" | sed -f math.sed') +REGRESSION_TEST(`not', `echo foo | sed "1!!s/foo/bar/"') REGRESSION_END() |