]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test-sd-hwdb: adjust the test to actually do anything
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 23 Jun 2022 14:21:18 +0000 (16:21 +0200)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 27 Jun 2022 13:31:24 +0000 (22:31 +0900)
Without the terminating colon we wouldn't match anything, so the loop over
properties was skipped.

src/test/test-sd-hwdb.c

index 8d08ea57af218c92d8eb4b2b48d7a62c2efe84c5..f18634cc34e32fc2251f2f2cd7db7f4d406056ba 100644 (file)
@@ -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;