tests: make buffer size larger for bad stride test

macos/master
Dave Airlie 10 years ago
parent 621629e32f
commit ebcc110592
  1. 2
      tests/test_virgl_transfer.c

@ -509,7 +509,7 @@ END_TEST
START_TEST(virgl_test_transfer_2d_bad_stride) START_TEST(virgl_test_transfer_2d_bad_stride)
{ {
struct virgl_renderer_resource_create_args res; struct virgl_renderer_resource_create_args res;
unsigned char data[50*4]; unsigned char data[50*4*2];
struct iovec iov = { .iov_base = data, .iov_len = sizeof(data) }; struct iovec iov = { .iov_base = data, .iov_len = sizeof(data) };
int niovs = 1; int niovs = 1;
int ret; int ret;

Loading…
Cancel
Save