RK356x U-Boot研究所(命令篇)3.8 test命令的用法
平台 | U-Boot 版本 | Linux SDK 版本 |
---|---|---|
RK356x | 2017.09 | v1.2.3 |
文章目录
- 一、test命令的介绍
- 二、test命令的定义
- 三、test命令的用法
一、test命令的介绍
test 命令定义在cmd/test.c
,需要使能以下配置:
obj-$(CONFIG_HUSH_PARSER) += test.o
以下介绍摘自cmd/Kconfig
:
config HUSH_PARSERbool "Use hush shell"depends on CMDLINEhelpThis option enables the "hush" shell (from Busybox) as command lineinterpreter, thus enabling powerful command line syntax likeif...then...else...fi conditionals or `&&' and '||'constructs ("shell scripts").If disabled, you get the old, much simpler be