#include "parser-test.h"
#if 0 /* PARSER_EMBEDDED_CONFIG */
+set os_name=Fedora
blscfg
#endif
test_add_file_string(test, test->ctx->device,
"/loader/entries/6c063c8e48904f2684abde8eea303f41-4.15.2-302.fc28.x86_64.conf",
- "title Fedora (4.15.2-302.fc28.x86_64) 28 (Twenty Eight)\n"
+ "title $os_name (4.15.2-302.fc28.x86_64) 28 (Twenty Eight)\n"
"linux /vmlinuz-4.15.2-302.fc28.x86_64\n"
"initrd /initramfs-4.15.2-302.fc28.x86_64.img\n"
"options root=/dev/mapper/fedora-root ro rd.lvm.lv=fedora/root\n\n");
test_add_file_string(test, test->ctx->device,
"/loader/entries/6c063c8e48904f2684abde8eea303f41-4.14.18-300.fc28.x86_64.conf",
- "title Fedora (4.14.18-300.fc28.x86_64) 28 (Twenty Eight)\n"
+ "title $os_name (4.14.18-300.fc28.x86_64) 28 (Twenty Eight)\n"
"linux /vmlinuz-4.14.18-300.fc28.x86_64\n"
"initrd /initramfs-4.14.18-300.fc28.x86_64.img\n"
"options root=/dev/mapper/fedora-root ro rd.lvm.lv=fedora/root\n");