mirror of
https://github.com/sheumann/hush.git
synced 2024-08-14 11:28:58 +00:00
'testsuite' dir. Fix a bunch of broken tests. Fix the testsuite 'runtest' script so it actually reports all failures and provides meaningful feedback. -Erik
20 lines
195 B
Plaintext
20 lines
195 B
Plaintext
# This will fail if CONFIG_FEATURE_SED_GNU_COMPATABILITY is defined
|
|
busybox sed 'N;p'>output <<EOF
|
|
a
|
|
b
|
|
c
|
|
EOF
|
|
|
|
set +e
|
|
cmp -s output - <<EOF
|
|
a
|
|
b
|
|
a
|
|
b
|
|
c
|
|
EOF
|
|
if [ $? != 0 ] ; then
|
|
exit 0;
|
|
fi
|
|
exit 1;
|