diff options
author | Stephen Warren <swarren@nvidia.com> | 2014-02-03 13:21:04 -0700 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-02-19 09:47:33 -0500 |
commit | d9b651ce31f464605eb590db9f60dd0bf92238dc (patch) | |
tree | 502a26e510bfe2309dff499af8eea0b08037a33e /doc/README.ext4 | |
parent | 4c80f29edd33cc613d01c5e93dde380b98d3c20c (diff) | |
download | u-boot-imx-d9b651ce31f464605eb590db9f60dd0bf92238dc.zip u-boot-imx-d9b651ce31f464605eb590db9f60dd0bf92238dc.tar.gz u-boot-imx-d9b651ce31f464605eb590db9f60dd0bf92238dc.tar.bz2 |
cmd_test: implement ! on sub-expressions
Currently, ! can only be parsed as the first operator in an expression.
This prevents the following from working:
$ if test ! ! 1 -eq 1; then echo yes; else echo no; fi
yes
$ if test ! 1 -eq 2 -a ! 3 -eq 4; then echo yes; else echo no; fi
yes
Fix this by parsing ! like any other operator, and and handling it
similarly to -a and -o.
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'doc/README.ext4')
0 files changed, 0 insertions, 0 deletions