]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
test: dfu: add some more test cases
authorStephen Warren <swarren@nvidia.com>
Tue, 1 Jul 2014 18:16:56 +0000 (12:16 -0600)
committerTom Rini <trini@ti.com>
Sat, 9 Aug 2014 15:17:00 +0000 (11:17 -0400)
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@nvidia.com>
test/dfu/dfu_gadget_test_init.sh

index fb54ad8c55eed1199e76775c1d5d0f82bb1b514b..2163a685a55df9fe817e1f153633852a9e0e7ce7 100755 (executable)
@@ -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"