From 53ab094df974e58a831953f5b64cf2ee8611d71d Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Tue, 10 Mar 2015 12:49:00 +1000 Subject: [PATCH] tests: use a box with height to test stride validation --- tests/test_virgl_transfer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_virgl_transfer.c b/tests/test_virgl_transfer.c index 468b9c2..a25e82b 100644 --- a/tests/test_virgl_transfer.c +++ b/tests/test_virgl_transfer.c @@ -482,7 +482,7 @@ START_TEST(virgl_test_transfer_2d_bad_stride) struct iovec iov = { .iov_base = data, .iov_len = sizeof(data) }; int niovs = 1; int ret; - struct virgl_box box = { .w = 50, .h = 1, .d = 1 }; + struct virgl_box box = { .w = 50, .h = 2, .d = 1 }; testvirgl_init_simple_2d_resource(&res, 1);