aboutsummaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-08-06 03:41:08 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-08-06 03:41:08 +0000
commit8274e06677ba55532a4e1488b659f0b1e743130e (patch)
treeaf0a5bec322c6f2dc3214ea6a57997455cc35876 /testsuite
parente013475830b2399e31f5e17758dd6674b6b60058 (diff)
downloadbusybox-w32-8274e06677ba55532a4e1488b659f0b1e743130e.tar.gz
busybox-w32-8274e06677ba55532a4e1488b659f0b1e743130e.tar.bz2
busybox-w32-8274e06677ba55532a4e1488b659f0b1e743130e.zip
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
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 c115878fe..a537dcee9 100755
--- a/testsuite/all_sourcecode.tests
+++ b/testsuite/all_sourcecode.tests
@@ -19,7 +19,7 @@
19# verify the applet order is correct in applets.h, otherwise 19# verify the applet order is correct in applets.h, otherwise
20# applets won't be called properly. 20# applets won't be called properly.
21# 21#
22sed -n -e '/^USE_[A-Z]*(APPLET(/{s:.*(::;s:,.*::;s:"::g;p}' \ 22sed -n -e '/^USE_[A-Z]*(APPLET/{s:,.*::;s:.*(::;s:"::g;p}' \
23 $srcdir/../include/applets.h > applet.order.current 23 $srcdir/../include/applets.h > applet.order.current
24LC_ALL=C sort applet.order.current > applet.order.correct 24LC_ALL=C sort applet.order.current > applet.order.correct
25testing "Applet order" "diff -u applet.order.current applet.order.correct" "" "" "" 25testing "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()
76 echo -ne "$5" | eval "$2" > actual 76 echo -ne "$5" | eval "$2" > actual
77 RETVAL=$? 77 RETVAL=$?
78 78
79 cmp expected actual > /dev/null 79 cmp expected actual >/dev/null 2>/dev/null
80 if [ $? -ne 0 ] 80 if [ $? -ne 0 ]
81 then 81 then
82 FAILCOUNT=$[$FAILCOUNT+1] 82 FAILCOUNT=$[$FAILCOUNT+1]