From 5e8d85a4acefd39f0427e1be16d524947ebfa479 Mon Sep 17 00:00:00 2001 From: jinag12 Date: Sat, 9 Oct 2021 06:08:03 +0000 Subject: [PATCH 1/3] update bugfix-iproute2-cancel-some-test-cases.patch. --- bugfix-iproute2-cancel-some-test-cases.patch | 37 -------------------- 1 file changed, 37 deletions(-) diff --git a/bugfix-iproute2-cancel-some-test-cases.patch b/bugfix-iproute2-cancel-some-test-cases.patch index 3e85015..706dfd0 100644 --- a/bugfix-iproute2-cancel-some-test-cases.patch +++ b/bugfix-iproute2-cancel-some-test-cases.patch @@ -66,43 +66,6 @@ index 78ce28e..0000000 -test_on_not "if_id $IF_ID" - -ts_ip "$0" "Del $NEW_DEV xfrm interface" link del dev $NEW_DEV -diff --git a/testsuite/tests/tc/dsmark.t b/testsuite/tests/tc/dsmark.t -deleted file mode 100755 -index 3f1d5ef..0000000 ---- a/testsuite/tests/tc/dsmark.t -+++ /dev/null -@@ -1,31 +0,0 @@ --#!/bin/sh --# vim: ft=sh -- --. lib/generic.sh -- --ts_qdisc_available "dsmark" --if [ $? -eq 0 ]; then -- ts_log "dsmark: Unsupported by $TC, skipping" -- exit 127 --fi -- --ts_tc "dsmark" "dsmark root qdisc creation" \ -- qdisc add dev $DEV root handle 10:0 \ -- dsmark indices 64 default_index 1 set_tc_index -- --ts_tc "dsmark" "dsmark class 1 creation" \ -- class change dev $DEV parent 10:0 classid 10:12 \ -- dsmark mask 0xff value 2 -- --ts_tc "dsmark" "dsmark class 2 creation" \ -- class change dev $DEV parent 10:0 classid 10:13 \ -- dsmark mask 0xfc value 4 -- --ts_tc "dsmark" "dsmark dump qdisc" \ -- qdisc list dev $DEV -- --ts_tc "dsmark" "dsmark dump class" \ -- class list dev $DEV parent 10:0 -- --ts_tc "dsmark" "generic qdisc tree deletion" \ -- qdisc del dev $DEV root -- 2.23.0 -- Gitee From 78a383cf3fdf32c5b48ccb60baa8c90883d1cd50 Mon Sep 17 00:00:00 2001 From: jinag12 Date: Sat, 9 Oct 2021 06:09:03 +0000 Subject: [PATCH 2/3] update iproute.spec. --- iproute.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/iproute.spec b/iproute.spec index e1bbab0..0446d06 100644 --- a/iproute.spec +++ b/iproute.spec @@ -62,6 +62,7 @@ export IPT_LIB_DIR='/%{_lib}/xtables' make check if test -n "$(find . -name *.err)"; then echo "make check failed, please check" + cat $(find . -name *.err) exit 1 fi -- Gitee From 7b27a3a1faa6cece0dbc1e61b4c64a7729dafcb6 Mon Sep 17 00:00:00 2001 From: jinag12 Date: Sat, 9 Oct 2021 07:19:39 +0000 Subject: [PATCH 3/3] update iproute.spec. --- iproute.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/iproute.spec b/iproute.spec index 0446d06..d4788c5 100644 --- a/iproute.spec +++ b/iproute.spec @@ -59,6 +59,7 @@ export IPT_LIB_DIR='/%{_lib}/xtables' %make_build %check +modprobe sch_netem make check if test -n "$(find . -name *.err)"; then echo "make check failed, please check" -- Gitee