sed: fix 'q' command handling ("Nguyen Thai Ngoc Duy" <pclouds@gmail.com>)
add testsuite entry for it. Fix applet order checker. Fix cmp yelling. trylink: fix error file and map file generation applets: fix applet order
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
# verify the applet order is correct in applets.h, otherwise
|
||||
# applets won't be called properly.
|
||||
#
|
||||
sed -n -e '/^USE_[A-Z]*(APPLET(/{s:.*(::;s:,.*::;s:"::g;p}' \
|
||||
sed -n -e '/^USE_[A-Z]*(APPLET/{s:,.*::;s:.*(::;s:"::g;p}' \
|
||||
$srcdir/../include/applets.h > applet.order.current
|
||||
LC_ALL=C sort applet.order.current > applet.order.correct
|
||||
testing "Applet order" "diff -u applet.order.current applet.order.correct" "" "" ""
|
||||
|
@@ -76,7 +76,7 @@ testing()
|
||||
echo -ne "$5" | eval "$2" > actual
|
||||
RETVAL=$?
|
||||
|
||||
cmp expected actual > /dev/null
|
||||
cmp expected actual >/dev/null 2>/dev/null
|
||||
if [ $? -ne 0 ]
|
||||
then
|
||||
FAILCOUNT=$[$FAILCOUNT+1]
|
||||
|
Reference in New Issue
Block a user