u-boot/arch/sandbox
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
..
cpu unit-test: make "test -e" test independent of $CWD 2014-03-07 10:59:06 -05:00
dts sandbox: Build a device tree file for sandbox 2014-03-04 12:15:28 -05:00
include/asm sandbox: Convert GPIOs to use driver model 2014-03-04 12:15:30 -05:00
lib sandbox: convert makefiles to Kbuild style 2013-10-31 13:26:44 -04:00
config.mk sandbox: Build a device tree file for sandbox 2014-03-04 12:15:28 -05:00