Update sed branch tests
This commit is contained in:
@@ -1,15 +1 @@
|
||||
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
|
||||
test "$(echo foo | busybox sed 'b one;p;: one')" = foo
|
||||
|
||||
Reference in New Issue
Block a user