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.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2022-06-23 16:21:18 +02:00 committed by Yu Watanabe
parent aec2f54b30
commit 6b0485c29a

View 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;