aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtestsuite/busybox.tests12
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
46rm -f busybox-suffix unknown 46rm -f busybox-suffix unknown
47 47
48
49# verify the applet order is correct in applets.h
50# otherwise applets wont be called properly
51sed -n \
52 -e '/^\tAPPLET/{s:.*(::;s:,.*::;s:"::g;p}' \
53 ../include/applets.h > applet.order.current
54LC_ALL=C sort applet.order.current > applet.order.correct
55diff -u applet.order.current applet.order.correct
56FAILCOUNT=$[$FAILCOUNT+$?]
57rm -f applet.order.current applet.order.correct
58
59
48exit $FAILCOUNT 60exit $FAILCOUNT