summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite')
-rwxr-xr-xtestsuite/all_sourcecode.tests2
-rwxr-xr-xtestsuite/testing.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/all_sourcecode.tests b/testsuite/all_sourcecode.tests
index c115878..a537dce 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 01fdfbe..a886a76 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]