summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSøren Sandmann Pedersen <ssp@redhat.com>2011-03-07 12:16:43 -0500
committerSøren Sandmann Pedersen <ssp@redhat.com>2011-03-07 12:16:43 -0500
commit778a343a1d5142245f4ecfd9a79bd90d0950d94a (patch)
tree3916c84482eef371f143423f1735b3c5ca91aaa8
parent6e48f723a79df55d552c067c9b3c5abe74c083c0 (diff)
Add trap regress
-rw-r--r--test/trap-regress.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/trap-regress.c b/test/trap-regress.c
index 6c26c79a..d578fee7 100644
--- a/test/trap-regress.c
+++ b/test/trap-regress.c
@@ -38,6 +38,12 @@ main ()
src = pixman_image_create_solid_fill (&color);
lcg_srand (0xdeadbeef);
+
+ src = pixman_image_create_bits (
+ PIXMAN_a1, 34, 39, (uint32_t *)make_random_bytes (36 * 39), 36);
+
+ image_endian_swap (src, 1);
+
dst = pixman_image_create_bits (
PIXMAN_a4, 36, 64, (uint32_t *)make_random_bytes (40 * 64), 40);