new test for source code sanity
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)
No binary (build failed)
—
(log yok)
| @@ -0,0 +1,17 @@ | |
| + | #!/bin/sh |
| + | |
| + | # Tests for the sourcecode base itself. |
| + | # Copyright 2006 by Mike Frysinger <[email protected]> |
| + | # 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 |