summaryrefslogtreecommitdiff
path: root/tests/ubi-tests
diff options
context:
space:
mode:
authorZhihao Cheng <chengzhihao1@huawei.com>2019-06-14 20:19:50 +0800
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-06-16 12:27:18 +0200
commitbdcda755f2518dfbdc63a53fd4c820afe3f81859 (patch)
treec1db356eeee2bd6a1318ec85970c177f5599b67c /tests/ubi-tests
parent68ddd0cf2afcf24aec1458fb3a2abdcf81917daa (diff)
ubi-tests: fm_param: Replace 'fm_auto' with 'fm_autoconvert'
The value of fm_param should be 'fm_autoconvert' rather than 'fm_auto' when fastmap is supported by kernel. Currently, following verbose will appear in dmesg when fm_param is set to 'fm_auto': ubi: unknown parameter 'fm_auto' ignored This patch replace 'fm_auto' with 'fm_autoconvert' for fm_param, so ubi kernel module can receive correct parameters. ---------------------------------------- Signed-off-by: Zhihao Cheng <chengzhihao1@huawei.com> Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'tests/ubi-tests')
-rwxr-xr-xtests/ubi-tests/ubi-stress-test.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ubi-tests/ubi-stress-test.sh.in b/tests/ubi-tests/ubi-stress-test.sh.in
index 42ccec5..657ef4b 100755
--- a/tests/ubi-tests/ubi-stress-test.sh.in
+++ b/tests/ubi-tests/ubi-stress-test.sh.in
@@ -117,7 +117,7 @@ run_test()
fm_param=
elif [ "$fm_supported" = "yes" ]; then
fastmap="disabled"
- fm_param="fm_auto"
+ fm_param="fm_autoconvert"
else
echo "Fastmap is not supported, skip"
return 0