diff options
Diffstat (limited to 'testsuite/sed')
-rw-r--r-- | testsuite/sed/sed-append-next-line | 7 | ||||
-rw-r--r-- | testsuite/sed/sed-append-next-line-gnu | 14 |
2 files changed, 20 insertions, 1 deletions
diff --git a/testsuite/sed/sed-append-next-line b/testsuite/sed/sed-append-next-line index 380b793..e7f72f4 100644 --- a/testsuite/sed/sed-append-next-line +++ b/testsuite/sed/sed-append-next-line @@ -1,4 +1,6 @@ -busybox sed -n 'N;p'>output <<EOF +# XFAIL +# This will fail if CONFIG_FEATURE_SED_GNU_COMPATABILITY is defined +busybox sed 'N;p'>output <<EOF a b c @@ -6,4 +8,7 @@ EOF cmp -s output - <<EOF a b +a +b +c EOF 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 |