u-boot/test
Stephen Warren cfd13e8dda unit-test: make "test -e" test independent of $CWD
The unit-test for hush's "test -e" currently relies upon being run in
the U-Boot build directory, because it tests for the existence of a file
that exists in that directory.

Fix this by explicitly creating the file we use for the existence test,
and deleting it afterwards so that multiple successive unit-test
invocations succeed. This required adding an os.c function to erase
files.

Reported-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
2014-03-07 10:59:06 -05:00
..
dm dm: Add GPIO support and tests 2014-03-04 12:15:30 -05:00
image sandbox: dumpimage: Test dumpimage 2013-12-13 09:15:32 -05:00
trace Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
vboot Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
command_ut.c unit-test: make "test -e" test independent of $CWD 2014-03-07 10:59:06 -05:00
compression.c Coding Style cleanup: replace leading SPACEs by TABs 2013-10-14 16:06:54 -04:00
Makefile dts, api, test: convert makefiles to Kbuild style 2013-11-01 11:42:12 -04:00