ltp-testsuite-disable-ipv6-tests.patch 4.3 KB

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