Add final result tests for run_command_list()
authorSimon Glass <sjg@chromium.org>
Fri, 30 May 2014 20:41:48 +0000 (14:41 -0600)
committerTom Rini <trini@ti.com>
Thu, 5 Jun 2014 18:38:38 +0000 (14:38 -0400)
commit93ce7561cb59809c787c3650d791217d2e395f1d
treebaacf5760d9978570c03473c89af4c05ef438fce
parent7a33c773fe112a129200b1ea640b7abc445f2409
Add final result tests for run_command_list()

run_command_list() is supposed to return a return code of 0 for success
and 1 for failure. Add a few simple tests that confirm this. These tests
work both with the built-in parser and hush.

Signed-off-by: Simon Glass <sjg@chromium.org>
test/command_ut.c