don't fail if BR2_USE_UPDATES tries to update non-checkout
[buildroot.git] / package / ltp-testsuite / ltp-testsuite-disable-ipv6-tests.patch
blob6f1a92744a77553e0512d61f3ab20aa5b06373d2
1 diff -ur ltp-full-20070228/testcases/network/sctp/func_tests/Makefile ltp-full-20070228-patched/testcases/network/sctp/func_tests/Makefile
2 --- ltp-full-20070228/testcases/network/sctp/func_tests/Makefile 2007-02-28 22:40:32.000000000 -0600
3 +++ ltp-full-20070228-patched/testcases/network/sctp/func_tests/Makefile 2007-07-05 22:40:08.524219814 -0500
4 @@ -26,8 +26,6 @@
6 LOADLIBES += $(LIBS) -lltp -lsctputil -lsctp -lpthread
8 -V6FLAGS = -DTEST_V6=1 $(CFLAGS)
10 SRCS = $(wildcard *.c)
12 V4_TARGETS = test_1_to_1_accept_close test_1_to_1_addrs test_1_to_1_connect \
13 @@ -42,11 +40,7 @@
14 test_sctp_sendrecvmsg test_sockopt test_tcp_style \
15 test_timetolive test_1_to_1_connectx test_connectx
17 -V6_TARGETS = test_basic_v6 test_fragments_v6 test_getname_v6 \
18 - test_inaddr_any_v6 test_peeloff_v6 test_sctp_sendrecvmsg_v6 \
19 - test_sockopt_v6 test_tcp_style_v6 test_timetolive_v6
21 -all: $(V4_TARGETS) $(V6_TARGETS)
22 +all: $(V4_TARGETS)
24 test_1_to_1_accept_close: test_1_to_1_accept_close.c
25 test_1_to_1_addrs: test_1_to_1_addrs.c
26 @@ -68,47 +62,19 @@
27 test_assoc_shutdown: test_assoc_shutdown.c
28 test_autoclose: test_autoclose.c
29 test_basic: test_basic.c
30 -test_basic_v6: test_basic_v6.o
31 test_connect: test_connect.c
32 test_fragments: test_fragments.c
33 -test_fragments_v6: test_fragments_v6.o
34 test_getname: test_getname.c
35 -test_getname_v6: test_getname_v6.o
36 test_inaddr_any: test_inaddr_any.c
37 -test_inaddr_any_v6: test_inaddr_any_v6.o
38 test_peeloff: test_peeloff.c
39 -test_peeloff_v6: test_peeloff_v6.o
40 test_recvmsg: test_recvmsg.c
41 test_sctp_sendrecvmsg: test_sctp_sendrecvmsg.c
42 -test_sctp_sendrecvmsg_v6: test_sctp_sendrecvmsg_v6.o
43 test_sockopt: test_sockopt.c
44 -test_sockopt_v6: test_sockopt_v6.o
45 test_tcp_style: test_tcp_style.c
46 -test_tcp_style_v6: test_tcp_style_v6.o
47 test_timetolive: test_timetolive.c
48 -test_timetolive_v6: test_timetolive_v6.o
49 test_1_to_1_connectx: test_1_to_1_connectx.c
50 test_connectx: test_connectx.c
52 -test_basic_v6.o: test_basic.c
53 - $(CC) -c $(V6FLAGS) -o $@ $^
54 -test_fragments_v6.o: test_fragments.c
55 - $(CC) -c $(V6FLAGS) -o $@ $^
56 -test_getname_v6.o: test_getname.c
57 - $(CC) -c $(V6FLAGS) -o $@ $^
58 -test_inaddr_any_v6.o: test_inaddr_any.c
59 - $(CC) -c $(V6FLAGS) -o $@ $^
60 -test_peeloff_v6.o: test_peeloff.c
61 - $(CC) -c $(V6FLAGS) -o $@ $^
62 -test_sctp_sendrecvmsg_v6.o: test_sctp_sendrecvmsg.c
63 - $(CC) -c $(V6FLAGS) -o $@ $^
64 -test_sockopt_v6.o: test_sockopt.c
65 - $(CC) -c $(V6FLAGS) -o $@ $^
66 -test_tcp_style_v6.o: test_tcp_style.c
67 - $(CC) -c $(V6FLAGS) -o $@ $^
68 -test_timetolive_v6.o: test_timetolive.c
69 - $(CC) -c $(V6FLAGS) -o $@ $^
71 v4test: ${V4_TARGETS}
72 @for a in $^; \
73 do \
74 @@ -123,26 +89,9 @@
75 fi; \
76 done
78 -v6test: ${V6_TARGETS}
79 - @for a in $^; \
80 - do \
81 - echo "./$$a"; \
82 - if ./$$a; \
83 - then \
84 - echo "$$a passes"; \
85 - echo ""; \
86 - else \
87 - echo "$$a fails"; \
88 - exit 1; \
89 - fi; \
90 - done
92 install:
93 ln -f $(V4_TARGETS) ../../../bin
94 - ln -f $(V6_TARGETS) ../../../bin
96 clean:
97 rm -f $(V4_TARGETS)
98 - rm -f $(V6_TARGETS)
99 - rm -f ../../../bin/$(V6_TARGETS)
100 rm -f *.o
101 diff -ur ltp-full-20070228/testcases/network/stress/ns-tools/Makefile ltp-full-20070228-patched/testcases/network/stress/ns-tools/Makefile
102 --- ltp-full-20070228/testcases/network/stress/ns-tools/Makefile 2007-02-28 22:40:31.000000000 -0600
103 +++ ltp-full-20070228-patched/testcases/network/stress/ns-tools/Makefile 2007-07-05 22:39:27.593059603 -0500
104 @@ -10,9 +10,8 @@
105 ns-echoclient
107 BINS=ns-tcpserver ns-tcpclient ns-udpserver ns-udpclient \
108 - ns-icmpv4_sender ns-icmpv6_sender \
109 + ns-icmpv4_sender \
110 ns-udpsender \
111 - ns-icmp_redirector \
112 ns-mcast_receiver ns-igmp_querier \
113 ns-mcast_join
115 diff -ur ltp-full-20070228/tools/Makefile ltp-full-20070228-patched/tools/Makefile
116 --- ltp-full-20070228/tools/Makefile 2007-02-28 22:40:41.000000000 -0600
117 +++ ltp-full-20070228-patched/tools/Makefile 2007-07-05 22:39:27.593059603 -0500
118 @@ -1,4 +1,4 @@
119 -SUBDIRS = apicmds genload netpipe-2.4 netpipe-2.4-ipv6 #top-LTP
120 +SUBDIRS = apicmds genload netpipe-2.4 #top-LTP
122 CFLAGS+= -Wall -I../include
123 LOADLIBES+= -L../lib -lltp