diff options
author | Eric Andersen <andersen@codepoet.org> | 2004-04-06 11:10:30 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2004-04-06 11:10:30 +0000 |
commit | 650fe63467e693990cf357c51b74db3278088a56 (patch) | |
tree | 660b1fb0e4d7f99802a85cdd00166fafbf3132dc /testsuite/sed | |
parent | 39396b95fc7c46bfa29ec576357fb7f8e755762c (diff) | |
download | busybox-w32-650fe63467e693990cf357c51b74db3278088a56.tar.gz busybox-w32-650fe63467e693990cf357c51b74db3278088a56.tar.bz2 busybox-w32-650fe63467e693990cf357c51b74db3278088a56.zip |
Kill off the old 'tests' stuff. Write a ton of new tests for the
'testsuite' dir. Fix a bunch of broken tests. Fix the testsuite
'runtest' script so it actually reports all failures and provides
meaningful feedback.
-Erik
Diffstat (limited to 'testsuite/sed')
-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; | ||