Update some patch for uadk from mainline. To get more infomation, please visit the homepage: https://github.com/Linaro/uadk Signed-off-by: Wenkai Lin <linwenkai6@hisilicon.com>
31 lines
982 B
Diff
31 lines
982 B
Diff
From 1b4b3526112a4207f9ea84620fe0e91714f83729 Mon Sep 17 00:00:00 2001
|
|
From: Wenkai Lin <linwenkai6@hisilicon.com>
|
|
Date: Wed, 16 Mar 2022 17:52:22 +0800
|
|
Subject: [PATCH 108/109] test: enable epoll in sanity scripts
|
|
|
|
epoll is enabled by WD_COMP_EPOLL_EN,
|
|
so set it to 1 to test the function.
|
|
|
|
Signed-off-by: Wenkai Lin <linwenkai6@hisilicon.com>
|
|
---
|
|
test/sanity_test.sh | 3 ++-
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/test/sanity_test.sh b/test/sanity_test.sh
|
|
index 688485c..207eee5 100755
|
|
--- a/test/sanity_test.sh
|
|
+++ b/test/sanity_test.sh
|
|
@@ -362,7 +362,8 @@ run_zip_test_v2()
|
|
dd if=/var/log/syslog of=/tmp/syslog bs=1M count=16 >& /dev/null
|
|
sw_dfl_hw_ifl /tmp/syslog
|
|
hw_dfl_sw_ifl /tmp/syslog
|
|
- hw_dfl_hw_ifl /tmp/syslog
|
|
+ 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
|
|
#zip_sva_perf -b 8192 -s 81920 -l 1000 --self
|
|
# test with environment variables
|
|
--
|
|
2.27.0
|
|
|