diff options
author | Eugen Hristev <eugen.hristev@microchip.com> | 2018-05-09 16:28:38 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-05-23 17:30:04 -0400 |
commit | 78ccbd1395dd5c183086390d4bcd6760c7cb7996 (patch) | |
tree | 2885a3c942ce6bd5fb50d09c35634fc40ee91e67 /doc | |
parent | e71a969cea56eb3e93de3320df5ce44c9e4e1c53 (diff) | |
download | u-boot-78ccbd1395dd5c183086390d4bcd6760c7cb7996.zip u-boot-78ccbd1395dd5c183086390d4bcd6760c7cb7996.tar.gz u-boot-78ccbd1395dd5c183086390d4bcd6760c7cb7996.tar.bz2 |
test: fs: fs-test: Modified test 1 to do a ls to a nonexistent dir
Added a simple ls to a nonexistent directory for test 1.
In case the driver is broken for a nonexistent directory, U-boot
might crash.
Here is an example failed output:
=> # Test Case 1 - ls
=> ext4ls host 0:0
<DIR> 4096 .
<DIR> 4096 ..
<DIR> 16384 lost+found
<DIR> 4096 SUBDIR
2621440000 2.5GB.file
1048576 1MB.file
=> # In addition, test with a nonexistent directory to see if we crash.
=> ext4ls host 0:0 invalid_d
** Can not find directory. **
./test/fs/fs-test.sh: line 161: 25786 Segmentation fault (core dumped) $UBOOT <<EOF
Subsequent tests will fail if U-boot crashes.
Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions