diff options
author | dds <dds@FreeBSD.org> | 2007-03-14 10:10:10 +0000 |
---|---|---|
committer | dds <dds@FreeBSD.org> | 2007-03-14 10:10:10 +0000 |
commit | 30069ea03b4197168a1823613ea06e2384708869 (patch) | |
tree | 5d28ee3b42b9b94174342475e1155fe74e4f00d5 /tools/regression | |
parent | b84f63b98dd6fc6968c939a3511304a083a8e216 (diff) | |
download | FreeBSD-src-30069ea03b4197168a1823613ea06e2384708869.zip FreeBSD-src-30069ea03b4197168a1823613ea06e2384708869.tar.gz |
- It looks like BSD and GNU sed can nowadays pass two more tests.
- Test 7.8 fails for GNU sed not BSD.
Diffstat (limited to 'tools/regression')
-rw-r--r-- | tools/regression/usr.bin/sed/multitest.t | 11 | ||||
-rw-r--r-- | tools/regression/usr.bin/sed/sed.test | 11 |
2 files changed, 8 insertions, 14 deletions
diff --git a/tools/regression/usr.bin/sed/multitest.t b/tools/regression/usr.bin/sed/multitest.t index d71419b..5ddc1e12 100644 --- a/tools/regression/usr.bin/sed/multitest.t +++ b/tools/regression/usr.bin/sed/multitest.t @@ -423,8 +423,8 @@ test_print() cat tmpdir/* rm -rf tmpdir mark '7.8' - if [ $BSD -eq 1 ] ; then - echo BSD sed cannot pass 7.8 + if [ $GNU -eq 1 ] ; then + echo GNU sed cannot pass 7.8 else echo line1 > lines3 echo "" >> lines3 @@ -451,9 +451,6 @@ test_subst() u1\ u2/g' lines1 mark '8.10' - if [ $BSD -eq 1 -o $GNU -eq 1 ] ; then - echo 'BSD/GNU sed do not understand digit flags on s commands' - fi $SED -e 's/./X/4' lines1 rm -f lines4 mark '8.11' ; $SED -e 's/1/X/w lines4' lines1 @@ -462,8 +459,8 @@ u2/g' lines1 mark '8.12' ; $SED -e 's/[123]/X/g' lines1 mark '8.13' ; $SED -e 'y/0123456789/9876543210/' lines1 mark '8.14' ; - if [ $BSD -eq 1 -o $GNU -eq 1 -o $SUN -eq 1 ] ; then - echo BSD/GNU/SUN sed fail this test + if [ $SUN -eq 1 ] ; then + echo SUN sed fails this test else $SED -e 'y10\123456789198765432\101' lines1 fi diff --git a/tools/regression/usr.bin/sed/sed.test b/tools/regression/usr.bin/sed/sed.test index d71419b..5ddc1e12 100644 --- a/tools/regression/usr.bin/sed/sed.test +++ b/tools/regression/usr.bin/sed/sed.test @@ -423,8 +423,8 @@ test_print() cat tmpdir/* rm -rf tmpdir mark '7.8' - if [ $BSD -eq 1 ] ; then - echo BSD sed cannot pass 7.8 + if [ $GNU -eq 1 ] ; then + echo GNU sed cannot pass 7.8 else echo line1 > lines3 echo "" >> lines3 @@ -451,9 +451,6 @@ test_subst() u1\ u2/g' lines1 mark '8.10' - if [ $BSD -eq 1 -o $GNU -eq 1 ] ; then - echo 'BSD/GNU sed do not understand digit flags on s commands' - fi $SED -e 's/./X/4' lines1 rm -f lines4 mark '8.11' ; $SED -e 's/1/X/w lines4' lines1 @@ -462,8 +459,8 @@ u2/g' lines1 mark '8.12' ; $SED -e 's/[123]/X/g' lines1 mark '8.13' ; $SED -e 'y/0123456789/9876543210/' lines1 mark '8.14' ; - if [ $BSD -eq 1 -o $GNU -eq 1 -o $SUN -eq 1 ] ; then - echo BSD/GNU/SUN sed fail this test + if [ $SUN -eq 1 ] ; then + echo SUN sed fails this test else $SED -e 'y10\123456789198765432\101' lines1 fi |