Home
last modified time | relevance | path

Searched hist:cfd13e8dda9d2db3f6bdf32d623aecf10ee1ba50 (Results 1 – 3 of 3) sorted by relevance

/rk3399_rockchip-uboot/test/
H A Dcommand_ut.ccfd13e8dda9d2db3f6bdf32d623aecf10ee1ba50 Sun Mar 02 05:18:00 UTC 2014 Stephen Warren <swarren@wwwdotorg.org> 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>
/rk3399_rockchip-uboot/include/
H A Dos.hcfd13e8dda9d2db3f6bdf32d623aecf10ee1ba50 Sun Mar 02 05:18:00 UTC 2014 Stephen Warren <swarren@wwwdotorg.org> 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>
/rk3399_rockchip-uboot/arch/sandbox/cpu/
H A Dos.ccfd13e8dda9d2db3f6bdf32d623aecf10ee1ba50 Sun Mar 02 05:18:00 UTC 2014 Stephen Warren <swarren@wwwdotorg.org> 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>