From 9d0132a2fb379f6464ea0c08c98e77d361eb564d Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Tue, 12 Dec 2017 11:58:52 +0100 Subject: pkg/report: move guilty file test data to testdir/ linux_test.go is total mess and very hard to work with. Turns out we had 2 tests that do exactly the same (verify Report), but nobody ever noticed. Move all test data to testdir/. One file per crash. --- pkg/report/testdata/linux/guilty/17 | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 pkg/report/testdata/linux/guilty/17 (limited to 'pkg/report/testdata/linux/guilty/17') diff --git a/pkg/report/testdata/linux/guilty/17 b/pkg/report/testdata/linux/guilty/17 new file mode 100644 index 000000000..47bd74d30 --- /dev/null +++ b/pkg/report/testdata/linux/guilty/17 @@ -0,0 +1,17 @@ +FILE: net/netfilter/x_tables.c + +=============================== +[ INFO: suspicious RCU usage. ] +Call Trace: + [] __dump_stack lib/dump_stack.c:15 [inline] + [] dump_stack+0xc1/0x124 lib/dump_stack.c:51 + [] warn_alloc+0x208/0x230 mm/page_alloc.c:2850 + [] __vmalloc_area_node_memcg mm/vmalloc.c:1647 [inline] + [] __vmalloc_node_range_memcg+0x375/0x670 mm/vmalloc.c:1690 + [] __vmalloc_node_memcg mm/vmalloc.c:1751 [inline] + [] __vmalloc_node_memcg_flags mm/vmalloc.c:1788 [inline] + [] vmalloc+0x69/0x70 mm/vmalloc.c:1803 + [] xt_alloc_table_info+0xd0/0x100 net/netfilter/x_tables.c:952 + [] do_replace net/ipv4/netfilter/ip_tables.c:1140 [inline] + [] do_ipt_set_ctl+0x21c/0x430 net/ipv4/netfilter/ip_tables.c:1687 + [] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] -- cgit mrf-deployment