]> git.ozlabs.org Git - petitboot/blobdiff - test/parser/test-syslinux-explicit.c
discover/syslinux-parser: consistent cmdline arg processing
[petitboot] / test / parser / test-syslinux-explicit.c
index 5d23f50001b60b7235235ed719872254eef909ea..82030bf72c2df3ea0f302e9b93f05a732500f3b1 100644 (file)
@@ -36,6 +36,6 @@ void run_test(struct parser_test *test)
 
        check_name(opt, "backup");
        check_resolved_local_resource(opt->boot_image, ctx->device, "/backup/vmlinuz");
 
        check_name(opt, "backup");
        check_resolved_local_resource(opt->boot_image, ctx->device, "/backup/vmlinuz");
-       check_args(opt, " root=/dev/sdb");
+       check_args(opt, "root=/dev/sdb");
        check_resolved_local_resource(opt->initrd, ctx->device, "/boot/initrd");
 }
        check_resolved_local_resource(opt->initrd, ctx->device, "/boot/initrd");
 }