diff options
author | Stephen Warren <swarren@nvidia.com> | 2014-02-03 13:21:06 -0700 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-02-19 09:47:34 -0500 |
commit | e5e897c01b1cd496187ca56a38ff5559d27f951c (patch) | |
tree | b2842a2aeffcdd10fbe7300920b2252f545d9b57 /include | |
parent | 2453de99df576fb907fe06cac58c628e3590833f (diff) | |
download | u-boot-imx-e5e897c01b1cd496187ca56a38ff5559d27f951c.zip u-boot-imx-e5e897c01b1cd496187ca56a38ff5559d27f951c.tar.gz u-boot-imx-e5e897c01b1cd496187ca56a38ff5559d27f951c.tar.bz2 |
cmd_test: implement -e test for file existence
This is much like a regular shell's -e operator, except that it takes
multiple arguments to specify the device type and device/partition ID
in addition to the usual filename:
if test -e mmc 0:1 /boot/boot.scr; then echo yes; else echo no; fi
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions