all_sourcecode.tests: check commented out applet order too
authorMike Frysinger <vapier@gentoo.org>
Wed, 4 Nov 2009 23:49:08 +0000 (18:49 -0500)
committerMike Frysinger <vapier@gentoo.org>
Wed, 4 Nov 2009 23:49:08 +0000 (18:49 -0500)
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
testsuite/all_sourcecode.tests

index c0a1f863fc3f2f079044616297cba454804d3e37..94f4360b2a1e301779b6387ba4535ced74c7e64c 100755 (executable)
@@ -33,7 +33,7 @@ rm -f src.usage.escaped
 # verify the applet order is correct in applets.h, otherwise
 # applets won't be called properly.
 #
-sed -n -e '/^IF_[A-Z]*(APPLET/{s:,.*::;s:.*(::;s:"::g;p}' \
+sed -n -e 's:^//::' -e '/^IF_[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" "" "" ""