From: Zbigniew Jędrzejewski-Szmek Date: Thu, 23 Jun 2022 14:21:18 +0000 (+0200) Subject: test-sd-hwdb: adjust the test to actually do anything X-Git-Tag: v252-rc1~764 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b0485c29a28aa238cfd8ccf123bf6f4ff3507f2;p=thirdparty%2Fsystemd.git test-sd-hwdb: adjust the test to actually do anything Without the terminating colon we wouldn't match anything, so the loop over properties was skipped. --- diff --git a/src/test/test-sd-hwdb.c b/src/test/test-sd-hwdb.c index 8d08ea57af2..f18634cc34e 100644 --- a/src/test/test-sd-hwdb.c +++ b/src/test/test-sd-hwdb.c @@ -23,7 +23,7 @@ TEST(failed_enumerate) { } #define DELL_MODALIAS \ - "evdev:atkbd:dmi:bvnXXX:bvrYYY:bdZZZ:svnDellXXX:pnYYY" + "evdev:atkbd:dmi:bvnXXX:bvrYYY:bdZZZ:svnDellXXX:pnYYY:" TEST(basic_enumerate) { _cleanup_(sd_hwdb_unrefp) sd_hwdb *hwdb = NULL;