summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/rulescomp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/rulescomp.c b/test/rulescomp.c
index 1c16dc8..e30f539 100644
--- a/test/rulescomp.c
+++ b/test/rulescomp.c
@@ -110,6 +110,9 @@ int main(int argc, char *argv[])
/* 20 is not a legal group; make sure this is handled gracefully. */
assert(test_rmlvo(ctx, "evdev", "", "us:20", "", ""));
+ /* Don't choke on missing values in RMLVO. Should just skip them. */
+ assert(test_rmlvo(ctx, "evdev", "", "us,,ca", "", ""));
+
assert(test_rmlvo(ctx, "", "", "", "", ""));
assert(test_rmlvo(ctx, NULL, NULL, NULL, NULL, NULL));