svn commit: trunk/busybox/testsuite
vapier at busybox.net
vapier at busybox.net
Sat Apr 1 01:36:33 UTC 2006
Author: vapier
Date: 2006-03-31 17:36:32 -0800 (Fri, 31 Mar 2006)
New Revision: 14720
Log:
new test for source code sanity
Added:
trunk/busybox/testsuite/all_sourcecode.tests
Changeset:
Added: trunk/busybox/testsuite/all_sourcecode.tests
===================================================================
--- trunk/busybox/testsuite/all_sourcecode.tests 2006-04-01 01:36:13 UTC (rev 14719)
+++ trunk/busybox/testsuite/all_sourcecode.tests 2006-04-01 01:36:32 UTC (rev 14720)
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+# Tests for the sourcecode base itself.
+# Copyright 2006 by Mike Frysinger <vapier at gentoo.org>
+# Licensed under GPL v2, see file LICENSE for details.
+
+. testing.sh
+
+# 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}' \
+ ../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" "" "" ""
+rm -f applet.order.current applet.order.correct
+
+exit $FAILCOUNT
Property changes on: trunk/busybox/testsuite/all_sourcecode.tests
___________________________________________________________________
Name: svn:executable
+ *
More information about the busybox-cvs
mailing list