[Bionic][SRU][PATCH 1/4] selftests: lib.mk set KSFT_TAP_LEVEL to prevent nested TAP headers
Po-Hsu Lin
po-hsu.lin at canonical.com
Wed Nov 6 10:29:03 UTC 2019
From: Shuah Khan <shuahkh at osg.samsung.com>
BugLink: https://bugs.launchpad.net/bugs/1812352
Set KSFT_TAP_LEVEL before running tests to prevent nested TAP header
printing from tests.
Signed-off-by: Shuah Khan <shuahkh at osg.samsung.com>
(cherry picked from commit 771cbc3bcbb59084766a501772853f2de7009534)
Signed-off-by: Po-Hsu Lin <po-hsu.lin at canonical.com>
---
tools/testing/selftests/lib.mk | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/testing/selftests/lib.mk b/tools/testing/selftests/lib.mk
index 6cd4695..51bc464 100644
--- a/tools/testing/selftests/lib.mk
+++ b/tools/testing/selftests/lib.mk
@@ -32,6 +32,7 @@ endif
.ONESHELL:
define RUN_TESTS
+ @export KSFT_TAP_LEVEL=`echo 1`;
@test_num=`echo 0`;
@echo "TAP version 13";
@for TEST in $(1); do \
--
2.7.4
More information about the kernel-team
mailing list