summaryrefslogtreecommitdiffhomepage
path: root/include/applets.h.sh
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2016-11-23 18:31:48 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2016-11-23 18:31:48 +0100
commit15fb91cefb22d64952f34fe246fc8f257172af63 (patch)
treeb26c3168f2ea5e185eee1041c6f521855398783a /include/applets.h.sh
parent73f743a381dc389287d2d0e56a2b7988f67c0bfc (diff)
test: make [ and [[ forms individually selectable
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include/applets.h.sh')
-rwxr-xr-xinclude/applets.h.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/applets.h.sh b/include/applets.h.sh
index 6b8046c4b..bab4e0d72 100755
--- a/include/applets.h.sh
+++ b/include/applets.h.sh
@@ -5,13 +5,17 @@
# CONFIG_applet names
grep ^IF_ applets.h | grep -v IF_FEATURE_ | sed 's/IF_\([A-Z0-9._-]*\)(.*/\1/' \
-| grep -v MODPROBE_SMALL | sed 's/BB_SYSCTL/SYSCTL/' \
+| grep -v MODPROBE_SMALL \
+| sed 's/BB_SYSCTL/SYSCTL/' \
+| sed 's/TEST1/[/' \
+| sed 's/TEST2/[[/' \
| sort | uniq \
>applets_APP1
# command line applet names
grep ^IF_ applets.h | sed -e's/ //g' -e's/.*(\([a-z[][^,]*\),.*/\1/' \
-| grep -v '^bash$' | grep -v '^sh$' \
+| grep -v '^bash$' \
+| grep -v '^sh$' \
| tr a-z A-Z \
| sort | uniq \
>applets_APP2