From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lukasz Majewski Date: Tue, 08 Jul 2014 09:58:16 +0200 Subject: [U-Boot] [PATCH 2/3] test: dfu: add some more test cases In-Reply-To: <1404238617-30522-2-git-send-email-swarren@wwwdotorg.org> References: <1404238617-30522-1-git-send-email-swarren@wwwdotorg.org> <1404238617-30522-2-git-send-email-swarren@wwwdotorg.org> Message-ID: <20140708095816.0f78a2ef@amdc2363> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Stephen, > From: Stephen Warren > > 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 > --- > 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