projects
/
oweals
/
busybox.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
1.00 is stable
[oweals/busybox.git]
/
testsuite
/
sed
/
sed-append-next-line
1
# This will fail if CONFIG_FEATURE_SED_GNU_COMPATABILITY is defined
2
busybox sed 'N;p'>output <<EOF
3
a
4
b
5
c
6
EOF
7
8
set +e
9
cmp -s output - <<EOF
10
a
11
b
12
a
13
b
14
c
15
EOF
16
if [ $? != 0 ] ; then
17
exit 0;
18
fi
19
exit 1;