summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenys Vlasenko2016-11-23 18:31:48 +0100
committerDenys Vlasenko2016-11-23 18:31:48 +0100
commit15fb91cefb22d64952f34fe246fc8f257172af63 (patch)
treeb26c3168f2ea5e185eee1041c6f521855398783a /include
parent73f743a381dc389287d2d0e56a2b7988f67c0bfc (diff)
downloadbusybox-15fb91cefb22d64952f34fe246fc8f257172af63.zip
busybox-15fb91cefb22d64952f34fe246fc8f257172af63.tar.gz
test: make [ and [[ forms individually selectable
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include')
-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 6b8046c..bab4e0d 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