| 14678b3c | 13-Sep-2016 |
Stefan Brüns <stefan.bruens@rwth-aachen.de> |
test/fs: Check ext4 behaviour if dirent is first entry in directory block
This is a regression test for a crash happening if the first dirent in the block matches. Code tried to access a predecessor
test/fs: Check ext4 behaviour if dirent is first entry in directory block
This is a regression test for a crash happening if the first dirent in the block matches. Code tried to access a predecessor entry which does not exist. The crash happened for any block, but "." is always the first entry in the first directory block and thus easy to check for.
Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
show more ...
|
| d9554b7f | 13-Sep-2016 |
Stefan Brüns <stefan.bruens@rwth-aachen.de> |
test/fs: strip noise from filesystem code prior to checking results
ext4 and fat code emit some diagnostic messages during command execution. These additional lines force a match window size which s
test/fs: strip noise from filesystem code prior to checking results
ext4 and fat code emit some diagnostic messages during command execution. These additional lines force a match window size which strictly is not necessary.
Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
show more ...
|
| 06806e38 | 13-Sep-2016 |
Stefan Brüns <stefan.bruens@rwth-aachen.de> |
test/fs: remove use of undefined WRITE_FILE variable
The write file is created from $SMALL_FILE by appending ".w" on all other occurences in the code.
Signed-off-by: Stefan Brüns <stefan.bruens@rwt
test/fs: remove use of undefined WRITE_FILE variable
The write file is created from $SMALL_FILE by appending ".w" on all other occurences in the code.
Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
show more ...
|
| f6d34651 | 31-Jul-2016 |
Simon Glass <sjg@chromium.org> |
test: Adjust run_command_list() to return a list of strings
Return one string for each command that was executed. This seems cleaner.
Suggested-by: Teddy Reed <teddy.reed@gmail.com> Signed-off-by:
test: Adjust run_command_list() to return a list of strings
Return one string for each command that was executed. This seems cleaner.
Suggested-by: Teddy Reed <teddy.reed@gmail.com> Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Stephen Warren <swarren@nvidia.com>
show more ...
|
| 27c087d5 | 31-Jul-2016 |
Simon Glass <sjg@chromium.org> |
test: Add a function to restart U-Boot
Add a proper function for this rather than using internal functions. Use it in the single call site.
Also, do a restart at the end of the vboot test to reset
test: Add a function to restart U-Boot
Add a proper function for this rather than using internal functions. Use it in the single call site.
Also, do a restart at the end of the vboot test to reset to the normal device tree.
Signed-off-by: Simon Glass <sjg@chromium.org> Suggested-by: Stephen Warren <swarren@nvidia.com>
show more ...
|
| 851271a7 | 31-Jul-2016 |
Simon Glass <sjg@chromium.org> |
test: vboot: Put each test variant in its own section
Use 'cons.log.section' feature to split up the test output. This makes it easier to read.
Suggested-by: Stephen Warren <swarren@nvidia.com>
Si
test: vboot: Put each test variant in its own section
Use 'cons.log.section' feature to split up the test output. This makes it easier to read.
Suggested-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| ac9a23cf | 31-Jul-2016 |
Simon Glass <sjg@chromium.org> |
test: Rename sha to sha_algo and pass it around
Rename this argument and pass it to each function that needs it, instead of making it global.
Suggested-by: Stephen Warren <swarren@nvidia.com> Sugge
test: Rename sha to sha_algo and pass it around
Rename this argument and pass it to each function that needs it, instead of making it global.
Suggested-by: Stephen Warren <swarren@nvidia.com> Suggested-by: Teddy Reed <teddy.reed@gmail.com>
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| ec70f8a9 | 31-Jul-2016 |
Simon Glass <sjg@chromium.org> |
test: Drop the cmd() function
Instead of this, use the existing run_and_log() function, enhanced to support a command string as well as a list of arguments.
Suggested-by: Stephen Warren <swarren@nv
test: Drop the cmd() function
Instead of this, use the existing run_and_log() function, enhanced to support a command string as well as a list of arguments.
Suggested-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| 7f64b187 | 31-Jul-2016 |
Simon Glass <sjg@chromium.org> |
test: Check exit status in run_and_log_expect_exception()
This check was missed. Add it and make the message more verbose.
Signed-off-by: Simon Glass <sjg@chromium.org> Reported-by: Tom Rini <trini
test: Check exit status in run_and_log_expect_exception()
This check was missed. Add it and make the message more verbose.
Signed-off-by: Simon Glass <sjg@chromium.org> Reported-by: Tom Rini <trini@konsulko.com> Fixes: 9e17b034 (test/py: Provide a way to check that a command fails)
show more ...
|