From 8274e06677ba55532a4e1488b659f0b1e743130e Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Mon, 6 Aug 2007 03:41:08 +0000 Subject: sed: fix 'q' command handling ("Nguyen Thai Ngoc Duy" ) add testsuite entry for it. Fix applet order checker. Fix cmp yelling. trylink: fix error file and map file generation applets: fix applet order --- testsuite/all_sourcecode.tests | 2 +- testsuite/testing.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'testsuite') diff --git a/testsuite/all_sourcecode.tests b/testsuite/all_sourcecode.tests index c115878fe..a537dcee9 100755 --- a/testsuite/all_sourcecode.tests +++ b/testsuite/all_sourcecode.tests @@ -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" "" "" "" diff --git a/testsuite/testing.sh b/testsuite/testing.sh index 01fdfbeca..a886a76eb 100755 --- a/testsuite/testing.sh +++ b/testsuite/testing.sh @@ -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] -- cgit v1.2.3