Add 'true' and 'false' commands
authorPeter Tyser <ptyser@xes-inc.com>
Fri, 16 Oct 2009 22:36:27 +0000 (17:36 -0500)
committerWolfgang Denk <wd@denx.de>
Sun, 22 Nov 2009 23:06:13 +0000 (00:06 +0100)
commit396fd17338b9bf1f84f494ec1860427e18868ede
treef57d8bfd1b7b56a1cd2de8c33eed0df2bbaee5bb
parent4e1ca93b6bae34b68be9280b43bf0289d994656c
Add 'true' and 'false' commands

These commands are only enabled when the hush shell is enabled and can
be useful in scripts such as:

while true do
    echo "Booting OS...";
    run $bootcmd;
    echo "Booting OS failed";
    sleep 10;
done

Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
common/cmd_test.c