2003-09-16 10:55:43 +05:30
|
|
|
# This will fail if CONFIG_FEATURE_SED_GNU_COMPATABILITY is defined
|
|
|
|
busybox sed 'N;p'>output <<EOF
|
2003-09-15 11:05:47 +05:30
|
|
|
a
|
|
|
|
b
|
|
|
|
c
|
|
|
|
EOF
|
2004-04-06 16:40:30 +05:30
|
|
|
|
|
|
|
set +e
|
2003-09-15 11:05:47 +05:30
|
|
|
cmp -s output - <<EOF
|
|
|
|
a
|
|
|
|
b
|
2003-09-16 10:55:43 +05:30
|
|
|
a
|
|
|
|
b
|
|
|
|
c
|
2003-09-15 11:05:47 +05:30
|
|
|
EOF
|
2004-04-06 16:40:30 +05:30
|
|
|
if [ $? != 0 ] ; then
|
|
|
|
exit 0;
|
|
|
|
fi
|
|
|
|
exit 1;
|