From 1bb2ad1ed80fa51944ed5ad8c970fb9d899dccb0 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Sun, 10 Aug 2008 00:25:53 +0000 Subject: [PATCH] Test case to reproduce bug #2584. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26909 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- .../system/kernel/device_manager/dma_resource_test.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/tests/system/kernel/device_manager/dma_resource_test.cpp b/src/tests/system/kernel/device_manager/dma_resource_test.cpp index 22e4927bc5..2c34595092 100644 --- a/src/tests/system/kernel/device_manager/dma_resource_test.cpp +++ b/src/tests/system/kernel/device_manager/dma_resource_test.cpp @@ -750,6 +750,12 @@ run_tests_alignment_restrictions(TestSuiteContext& context) .NextResult(0, false, false) .AddTarget(0, 1024, true); + suite.AddTest(0, 2559, true, B_PHYSICAL_IO_REQUEST) + .AddSource(0, 2559) + .NextResult(0, false, true) + .AddTarget(0, 2048, false) + .AddTarget(0, 512, true); + suite.Run(); }