diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2017-12-12 11:58:52 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2017-12-12 11:59:13 +0100 |
| commit | 9d0132a2fb379f6464ea0c08c98e77d361eb564d (patch) | |
| tree | 3f13f6db2a231d84a01286f36a524a7f67da1de0 /pkg/report/testdata/linux/guilty/22 | |
| parent | 1556ebc4cc58b700a076d20ea645dae8c081f1bb (diff) | |
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.
Diffstat (limited to 'pkg/report/testdata/linux/guilty/22')
| -rw-r--r-- | pkg/report/testdata/linux/guilty/22 | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/pkg/report/testdata/linux/guilty/22 b/pkg/report/testdata/linux/guilty/22 new file mode 100644 index 000000000..68ba5c53a --- /dev/null +++ b/pkg/report/testdata/linux/guilty/22 @@ -0,0 +1,16 @@ +FILE: fs/block_dev.c + +INFO: task blkid:16495 blocked for more than 120 seconds. + Not tainted 4.15.0-rc2-next-20171208+ #63 +"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. +blkid D21344 16495 3125 0x80000006 +Call Trace: + context_switch kernel/sched/core.c:2800 [inline] + __schedule+0x8eb/0x2060 kernel/sched/core.c:3376 + schedule+0xf5/0x430 kernel/sched/core.c:3435 + schedule_preempt_disabled+0x10/0x20 kernel/sched/core.c:3493 + __mutex_lock_common kernel/locking/mutex.c:833 [inline] + __mutex_lock+0xaad/0x1a80 kernel/locking/mutex.c:893 + mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:908 + blkdev_put+0x2a/0x4f0 fs/block_dev.c:1793 + blkdev_close+0x91/0xc0 fs/block_dev.c:1842 |
