From: Bastien Nocera Date: Mon, 20 Feb 2017 15:17:50 +0000 (+0100) Subject: tests: Fix crash on plenty of architectures X-Git-Tag: upstream/231 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=08412886f840603db9127d3d66ecbc1cc2326f43;p=platform%2Fupstream%2Flibgudev.git tests: Fix crash on plenty of architectures umockdev_testbed_add_device() expects 2 sentinels, one for the sysfs attributes, one for the udev properties. Spotted by Martin Pitt https://bugzilla.gnome.org/show_bug.cgi?id=778734 --- diff --git a/tests/test-enumerator-filter.c b/tests/test-enumerator-filter.c index e5fc0b6..9c97903 100644 --- a/tests/test-enumerator-filter.c +++ b/tests/test-enumerator-filter.c @@ -47,7 +47,8 @@ test_enumerator_filter (void) "ID_MODEL", "KoolGadget 2", NULL); umockdev_testbed_add_device (testbed, "drm", "dev3", NULL, - "ID_FOR_SEAT", "drm-pci-0000_00_02_0", NULL); + "ID_FOR_SEAT", "drm-pci-0000_00_02_0", NULL, + NULL); /* Check the number of items in GUdevClient */ const gchar *subsystems[] = { "drm", NULL};