u-boot/test
Stephen Warren 47b7164450 fs-test.sh: fix pre-requisite detection
In the following snippet:

if [ ! -x `which $prereq` ]; then

When $prereq does not exist, `which $prereq` evaluates to the empty string,
which results in *no* argument being passed to the -x operator, which then
evaluates to true, which is the equivalent of the prereq having been found. In
order for this to fail as expected, we must pass an empty argument, which then
causes -x to fail. Do this by wrapping the `` in quotes so there's always an
argument to -x, even if the value of the argument is zero-length.

Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
2015-10-24 13:50:34 -04:00
..
dfu dfu:tests: Modify dfu_gadget_test.sh to accept USB device vendor:product ID 2015-09-07 13:41:03 +02:00
dm test: Add basic tests for remoteproc 2015-10-22 14:18:40 -04:00
env test: env: Add a test of the new regex behavior for attrs 2015-05-21 09:16:18 -04:00
fs fs-test.sh: fix pre-requisite detection 2015-10-24 13:50:34 -04:00
image add test for two 'loadables' 2015-05-28 08:18:21 -04:00
stdint
trace
ums
vboot
cmd_repeat.sh
cmd_ut.c test: env: Add test framework for env 2015-05-21 09:16:18 -04:00
command_ut.c
common.sh
compression.c Add support for LZ4 decompression algorithm 2015-10-11 17:12:10 -04:00
Kconfig test: env: Add test framework for env 2015-05-21 09:16:18 -04:00
Makefile
time_ut.c
ut.c