Skip to content
Snippets Groups Projects
Commit 0d7f85f0 authored by Łukasz Majewski's avatar Łukasz Majewski Committed by Marek Vasut
Browse files

test: dfu: Extend dfu_gadget_test_init.sh to accept sizes of test files


It is now possible to pass to the dfu_gadget_test_init.sh script the sizes
of files to be generated.

This feature is required by UMS tests which reuse this code.

Signed-off-by: default avatarLukasz Majewski <l.majewski@samsung.com>
Acked-by: default avatarStephen Warren <swarren@nvidia.com>
parent 8fc17131
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,11 @@ COLOUR_DEFAULT="\33[0m"
LOG_DIR="./log"
TEST_FILES_SIZES="63 64 65 127 128 129 4095 4096 4097 959 960 961 1048575 1048576 8M"
if [ $# -eq 0 ]; then
TEST_FILES_SIZES="63 64 65 127 128 129 4095 4096 4097 959 960 961 1048575 1048576 8M"
else
TEST_FILES_SIZES=$@
fi
printf "Init script for generating data necessary for DFU test script"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment