1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-01 16:52:14 +02:00
Files
u-boot-megous/common
Stephen Warren 2453de99df cmd_test: evaluate to false without any arguments
This emulates bash:
$ if test; then echo yes; else echo no; fi
no

Currently, the code sets expr = -1 in this case, which gets mapped to
0 (true) at the end of do_test() by the logical -> shell exit code
conversion.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
2014-02-19 09:47:33 -05:00
..
2014-02-04 16:32:20 +01:00
2013-08-16 13:45:15 -04:00
2013-11-08 15:25:14 -05:00
2013-05-31 17:12:03 -05:00
2014-01-14 09:01:06 -05:00
2014-01-14 09:01:06 -05:00
2013-08-06 23:58:43 +05:30
2013-09-20 10:30:54 -04:00
2013-09-20 10:30:54 -04:00
2014-02-04 16:32:20 +01:00