svn commit: trunk/busybox/testsuite

vapier at busybox.net vapier at busybox.net
Wed Feb 22 23:38:58 UTC 2006


Author: vapier
Date: 2006-02-22 15:38:57 -0800 (Wed, 22 Feb 2006)
New Revision: 14218

Log:
test to make sure applets are in alphabetical order

Modified:
   trunk/busybox/testsuite/busybox.tests


Changeset:
Modified: trunk/busybox/testsuite/busybox.tests
===================================================================
--- trunk/busybox/testsuite/busybox.tests	2006-02-22 23:33:39 UTC (rev 14217)
+++ trunk/busybox/testsuite/busybox.tests	2006-02-22 23:38:57 UTC (rev 14218)
@@ -45,4 +45,16 @@
 
 rm -f busybox-suffix unknown
 
+
+# verify the applet order is correct in applets.h
+# otherwise applets wont be called properly
+sed -n \
+	-e '/^\tAPPLET/{s:.*(::;s:,.*::;s:"::g;p}' \
+	../include/applets.h > applet.order.current
+LC_ALL=C sort applet.order.current > applet.order.correct
+diff -u applet.order.current applet.order.correct
+FAILCOUNT=$[$FAILCOUNT+$?]
+rm -f applet.order.current applet.order.correct
+
+
 exit $FAILCOUNT




More information about the busybox-cvs mailing list