From: Shuah Khan Date: Thu, 22 Feb 2018 00:22:08 +0000 (-0700) Subject: selftests: lib.mk set KSFT_TAP_LEVEL to prevent nested TAP headers X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=771cbc3bcbb59084766a501772853f2de7009534;p=openwrt%2Fstaging%2Fblogic.git selftests: lib.mk set KSFT_TAP_LEVEL to prevent nested TAP headers Set KSFT_TAP_LEVEL before running tests to prevent nested TAP header printing from tests. Signed-off-by: Shuah Khan --- diff --git a/tools/testing/selftests/lib.mk b/tools/testing/selftests/lib.mk index 7de482a0519d..195e9d4739a9 100644 --- a/tools/testing/selftests/lib.mk +++ b/tools/testing/selftests/lib.mk @@ -20,6 +20,7 @@ all: $(TEST_GEN_PROGS) $(TEST_GEN_PROGS_EXTENDED) $(TEST_GEN_FILES) .ONESHELL: define RUN_TESTS + @export KSFT_TAP_LEVEL=`echo 1`; @test_num=`echo 0`; @echo "TAP version 13"; @for TEST in $(1); do \