aboutsummaryrefslogtreecommitdiff
path: root/testsuite/sed/sed-branch-conditional-inverted
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/sed/sed-branch-conditional-inverted')
-rwxr-xr-xtestsuite/sed/sed-branch-conditional-inverted14
1 files changed, 14 insertions, 0 deletions
diff --git a/testsuite/sed/sed-branch-conditional-inverted b/testsuite/sed/sed-branch-conditional-inverted
new file mode 100755
index 000000000..f4df84b3e
--- /dev/null
+++ b/testsuite/sed/sed-branch-conditional-inverted
@@ -0,0 +1,14 @@
+busybox sed 's/a/1/;T notone;p;: notone;p'>output <<EOF
+a
+b
+c
+EOF
+cmp -s output - <<EOF
+1
+1
+1
+b
+b
+c
+c
+EOF