平台 | U-Boot 版本 | Linux SDK 版本 |
---|---|---|
RK356x | 2017.09 | v1.2.3 |
一、test命令的介绍
test 命令定义在cmd/test.c
,需要使能以下配置:
obj-$(CONFIG_HUSH_PARSER) += test.o
以下介绍摘自cmd/Kconfig
:
config HUSH_PARSER
bool "Use hush shell"
depends on CMDLINE
help
This option enables the "hush" shell (from Busybox) as command line
interpreter, thus enabling powerful command line syntax like
if...then...else...fi conditionals or `&&' and '||'
constructs ("shell scripts").
If disabled, you get the old, much simpler be