mirror of
https://github.com/sheumann/hush.git
synced 2024-12-22 14:30:31 +00:00
650fe63467
'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;
|