diff options
Diffstat (limited to 'test/dfu')
-rwxr-xr-x | test/dfu/dfu_gadget_test.sh | 10 | ||||
-rwxr-xr-x | test/dfu/dfu_gadget_test_init.sh | 16 |
2 files changed, 25 insertions, 1 deletions
diff --git a/test/dfu/dfu_gadget_test.sh b/test/dfu/dfu_gadget_test.sh index 4133155ae97..2f5b7db58d4 100755 --- a/test/dfu/dfu_gadget_test.sh +++ b/test/dfu/dfu_gadget_test.sh @@ -1,5 +1,15 @@ #! /bin/bash +# Copyright (C) 2014 Samsung Electronics +# Lukasz Majewski <l.majewski@samsung.com> +# +# Script fixes, enhancements and testing: +# Stephen Warren <swarren@nvidia.com> +# +# DFU operation test script +# +# SPDX-License-Identifier: GPL-2.0+ + set -e # any command return if not equal to zero clear diff --git a/test/dfu/dfu_gadget_test_init.sh b/test/dfu/dfu_gadget_test_init.sh index 2163a685a55..640628eecb7 100755 --- a/test/dfu/dfu_gadget_test_init.sh +++ b/test/dfu/dfu_gadget_test_init.sh @@ -1,5 +1,15 @@ #! /bin/bash +# Copyright (C) 2014 Samsung Electronics +# Lukasz Majewski <l.majewski@samsung.com> +# +# Script fixes, enhancements and testing: +# Stephen Warren <swarren@nvidia.com> +# +# Script for test files generation +# +# SPDX-License-Identifier: GPL-2.0+ + set -e # any command return if not equal to zero clear @@ -9,7 +19,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" |