diff options
-rwxr-xr-x | testsuite/busybox.tests | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/testsuite/busybox.tests b/testsuite/busybox.tests index b69272593..f31f38f06 100755 --- a/testsuite/busybox.tests +++ b/testsuite/busybox.tests | |||
@@ -45,4 +45,16 @@ testing "busybox as unknown name" "2>&1" "unknown: applet not found\n" "" "" | |||
45 | 45 | ||
46 | rm -f busybox-suffix unknown | 46 | rm -f busybox-suffix unknown |
47 | 47 | ||
48 | |||
49 | # verify the applet order is correct in applets.h | ||
50 | # otherwise applets wont be called properly | ||
51 | sed -n \ | ||
52 | -e '/^\tAPPLET/{s:.*(::;s:,.*::;s:"::g;p}' \ | ||
53 | ../include/applets.h > applet.order.current | ||
54 | LC_ALL=C sort applet.order.current > applet.order.correct | ||
55 | diff -u applet.order.current applet.order.correct | ||
56 | FAILCOUNT=$[$FAILCOUNT+$?] | ||
57 | rm -f applet.order.current applet.order.correct | ||
58 | |||
59 | |||
48 | exit $FAILCOUNT | 60 | exit $FAILCOUNT |