diff options
Diffstat (limited to 'testsuite/sed/sed-append-next-line')
-rw-r--r-- | testsuite/sed/sed-append-next-line | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/testsuite/sed/sed-append-next-line b/testsuite/sed/sed-append-next-line index e7f72f476..0621a319f 100644 --- a/testsuite/sed/sed-append-next-line +++ b/testsuite/sed/sed-append-next-line | |||
@@ -1,10 +1,11 @@ | |||
1 | # XFAIL | ||
2 | # This will fail if CONFIG_FEATURE_SED_GNU_COMPATABILITY is defined | 1 | # This will fail if CONFIG_FEATURE_SED_GNU_COMPATABILITY is defined |
3 | busybox sed 'N;p'>output <<EOF | 2 | busybox sed 'N;p'>output <<EOF |
4 | a | 3 | a |
5 | b | 4 | b |
6 | c | 5 | c |
7 | EOF | 6 | EOF |
7 | |||
8 | set +e | ||
8 | cmp -s output - <<EOF | 9 | cmp -s output - <<EOF |
9 | a | 10 | a |
10 | b | 11 | b |
@@ -12,3 +13,7 @@ a | |||
12 | b | 13 | b |
13 | c | 14 | c |
14 | EOF | 15 | EOF |
16 | if [ $? != 0 ] ; then | ||
17 | exit 0; | ||
18 | fi | ||
19 | exit 1; | ||