[U-Boot] [PATCH 2/3] test: dfu: add some more test cases

Lukasz Majewski l.majewski at samsung.com
Tue Jul 8 09:58:16 CEST 2014


Hi Stephen,

> From: Stephen Warren <swarren at nvidia.com>
> 
> On Tegra, the DFU buffer size is 1M. Consequently, the 8M test always
> fails. Add tests for the 1M size, and one byte less as a corner case,
> so that some large tests are executed and expected to pass.
> 
> Signed-off-by: Stephen Warren <swarren at nvidia.com>
> ---
>  test/dfu/dfu_gadget_test_init.sh | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/test/dfu/dfu_gadget_test_init.sh
> b/test/dfu/dfu_gadget_test_init.sh index fb54ad8c55ee..2163a685a55d
> 100755 --- a/test/dfu/dfu_gadget_test_init.sh
> +++ b/test/dfu/dfu_gadget_test_init.sh
> @@ -9,7 +9,7 @@ COLOUR_DEFAULT="\33[0m"
>  
>  LOG_DIR="./log"
>  
> -TEST_FILES_SIZES="63 64 65 127 128 129 4095 4096 4097 959 960 961 8M"
> +TEST_FILES_SIZES="63 64 65 127 128 129 4095 4096 4097 959 960 961
> 1048575 1048576 8M" 
>  printf "Init script for generating data necessary for DFU test
> script" 

Applied to u-boot-dfu tree.

Stephen, thanks for your support.

-- 
Best regards,

Lukasz Majewski

Samsung R&D Institute Poland (SRPOL) | Linux Platform Group


More information about the U-Boot mailing list