summaryrefslogtreecommitdiff
path: root/testsuite/sed/sed-append-next-line-gnu
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/sed/sed-append-next-line-gnu')
-rw-r--r--testsuite/sed/sed-append-next-line-gnu14
1 files changed, 14 insertions, 0 deletions
diff --git a/testsuite/sed/sed-append-next-line-gnu b/testsuite/sed/sed-append-next-line-gnu
new file mode 100644
index 0000000..d7aba8c
--- /dev/null
+++ b/testsuite/sed/sed-append-next-line-gnu
@@ -0,0 +1,14 @@
+# FEATURE: CONFIG_FEATURE_SED_GNU_COMPATABILITY
+busybox sed 'N;p'>output <<EOF
+a
+b
+c
+EOF
+cmp -s output - <<EOF
+a
+b
+a
+b
+c
+
+EOF