提交 697371c2 编写于 作者: D Daniel P. Berrangé

build: use @CONFIG@ instead of ::CONFIG:: in augeas tests

Using @VARNAME@ is a normal style of automake, so lets match that.
Reviewed-by: NAndrea Bolognani <abologna@redhat.com>
Signed-off-by: NDaniel P. Berrangé <berrange@redhat.com>
上级 22045851
...@@ -30,7 +30,7 @@ open TEMPLATE, "<", $template or die "cannot read $template: $!"; ...@@ -30,7 +30,7 @@ open TEMPLATE, "<", $template or die "cannot read $template: $!";
my $group = 0; my $group = 0;
while (<TEMPLATE>) { while (<TEMPLATE>) {
if (/::CONFIG::/) { if (/\@CONFIG\@/) {
my $group = 0; my $group = 0;
print " let conf = \""; print " let conf = \"";
while (<CONFIG>) { while (<CONFIG>) {
......
module Test_libvirtd_bhyve = module Test_libvirtd_bhyve =
::CONFIG:: @CONFIG@
test Libvirtd_bhyve.lns get conf = test Libvirtd_bhyve.lns get conf =
{ "firmware_dir" = "/usr/local/share/uefi-firmware" } { "firmware_dir" = "/usr/local/share/uefi-firmware" }
module Test_libvirtd_libxl = module Test_libvirtd_libxl =
::CONFIG:: @CONFIG@
test Libvirtd_libxl.lns get conf = test Libvirtd_libxl.lns get conf =
{ "autoballoon" = "1" } { "autoballoon" = "1" }
......
module Test_libvirt_lockd = module Test_libvirt_lockd =
::CONFIG:: @CONFIG@
test Libvirt_lockd.lns get conf = test Libvirt_lockd.lns get conf =
{ "auto_disk_leases" = "0" } { "auto_disk_leases" = "0" }
......
module Test_libvirt_sanlock = module Test_libvirt_sanlock =
::CONFIG:: @CONFIG@
test Libvirt_sanlock.lns get conf = test Libvirt_sanlock.lns get conf =
{ "auto_disk_leases" = "1" } { "auto_disk_leases" = "1" }
......
module Test_virtlockd = module Test_virtlockd =
::CONFIG:: @CONFIG@
test Virtlockd.lns get conf = test Virtlockd.lns get conf =
{ "log_level" = "3" } { "log_level" = "3" }
......
module Test_virtlogd = module Test_virtlogd =
::CONFIG:: @CONFIG@
test Virtlogd.lns get conf = test Virtlogd.lns get conf =
{ "log_level" = "3" } { "log_level" = "3" }
......
module Test_libvirtd_lxc = module Test_libvirtd_lxc =
::CONFIG:: @CONFIG@
test Libvirtd_lxc.lns get conf = test Libvirtd_lxc.lns get conf =
{ "log_with_libvirtd" = "1" } { "log_with_libvirtd" = "1" }
......
module Test_libvirtd_qemu = module Test_libvirtd_qemu =
::CONFIG:: @CONFIG@
test Libvirtd_qemu.lns get conf = test Libvirtd_qemu.lns get conf =
{ "default_tls_x509_cert_dir" = "/etc/pki/qemu" } { "default_tls_x509_cert_dir" = "/etc/pki/qemu" }
......
module Test_libvirtd = module Test_libvirtd =
::CONFIG:: @CONFIG@
test Libvirtd.lns get conf = test Libvirtd.lns get conf =
{ "listen_tls" = "0" } { "listen_tls" = "0" }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册