← Commit list

23ca7253b

Mike Frysinger
Mike Frysinger
2006-02-22
SOURCE BUG Duration: 3s

Subject

test to make sure applets are in alphabetical order

SOURCE BUG

This commit was genuinely broken at the time (not related to our build system): scripts/config/mkconfigs.c (2005-08-01 - 2006-10-05 arasi) uretilen bbconfigopts.h icine .config satirlarini kacissiz, ham newline'larla gömüyordu - gecerli C degildi, busybox'un kendi bb_mkdep araci bile parse edemiyordu (7d219aab7 ile duzeltildi, mkconfigs shell scripte cevrildi)

→ Bu hatanin tam hikayesini ve duzeltme diffini gor

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Debian 14.2.0-19) 14.2.0

—

Build Log

(log yok)

Commit Diff GitHub →

testsuite/busybox.tests+12 -0
@@ -45,4 +45,16 @@ testing "busybox as unknown name" "2>&1" "unknown: applet not found\n" "" ""
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