[PATCH] sanity_test: fix blk hw test

From: Hao Fang <fanghao11@huawei.com> Signed-off-by: Hao Fang <fanghao11@huawei.com> --- test/sanity_test.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/test/sanity_test.sh b/test/sanity_test.sh index 1c4b631..acc44a9 100755 --- a/test/sanity_test.sh +++ b/test/sanity_test.sh @@ -87,10 +87,10 @@ hw_blk_deflate() case $3 in "gzip") ${RM} -f /tmp/gzip_list.bin - run_cmd uadk_tool test --m zip --in $1 --out $2 $@ + run_cmd uadk_tool test --m zip --stream --in $1 --out $2 $@ ;; "zlib") - run_cmd uadk_tool test --m zip --alg 1 --in $1 --out $2 $@ + run_cmd uadk_tool test --m zip --stream --alg 1 --in $1 --out $2 $@ ;; *) echo "Unsupported algorithm type: $3" @@ -104,10 +104,10 @@ hw_blk_inflate() { case $3 in "gzip") - run_cmd uadk_tool test --m zip --inf --in $1 --out $2 $@ + run_cmd uadk_tool test --m zip --stream --inf --in $1 --out $2 $@ ;; "zlib") - run_cmd uadk_tool test --m zip --alg 1 --inf --in $1 --out $2 $@ + run_cmd uadk_tool test --m zip --stream --alg 1 --inf --in $1 --out $2 $@ ;; *) echo "Unsupported algorithm type: $3" @@ -365,9 +365,9 @@ run_zip_test_v2() WD_COMP_EPOLL_EN=1 hw_dfl_hw_ifl /tmp/syslog WD_COMP_EPOLL_EN=0 hw_dfl_hw_ifl /tmp/syslog # test without environment variables - #run_cmd uadk_tool test --m zip --blksize 8192 --size 81920 --loop 1000 --self + #run_cmd uadk_tool test --m zip --stream --blksize 8192 --size 81920 --loop 1000 --self # test with environment variables - #run_cmd uadk_tool test --m zip --blksize 8192 --size 81920 --loop 1000 --self --env + #run_cmd uadk_tool test --m zip --stream --blksize 8192 --size 81920 --loop 1000 --self --env } # Accept more paraterms -- 2.33.0
participants (1)
-
Qi Tao