Add two new tests, sed-recurses-properly should always work

This commit is contained in:
Glenn L McGrath 2003-09-14 09:38:24 +00:00
parent edc388cf4e
commit 8a0b59fb82
3 changed files with 16 additions and 1 deletions

15
testsuite/sed/sed-branch Normal file
View File

@ -0,0 +1,15 @@
busybox sed 's/a/1/;t one;p;: one;p'>output <<EOF
a
b
c
EOF
cmp -s output - <<EOF
1
1
b
b
b
c
c
c
EOF

View File

@ -0,0 +1 @@
test x"$(echo foo | busybox -n sed -e s/foo/bar/ -e s/foo/baz/)" = x

View File

@ -1,2 +1 @@
# XFAIL
test "`echo '12345' | busybox sed -e 's/[[:space:]]*/,/g')` = ',1,2,3,4,5,'" test "`echo '12345' | busybox sed -e 's/[[:space:]]*/,/g')` = ',1,2,3,4,5,'"