tests: zone: include error if test interfaces file cannot be opened

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2023-11-29 11:39:46 +01:00
parent 1e289d2303
commit 1ed61845d4

View file

@ -36,7 +36,7 @@ foreach my $test (@tests) {
my $sdn_config = read_sdn_config ("./$test/sdn_config");
open my $fh1, '<', "./$test/interfaces" or die "can't read interfaces file";
open(my $fh1, '<', "./$test/interfaces") or die "can't read interfaces file - $!";
my $interfaces_config = PVE::INotify::__read_etc_network_interfaces($fh1, undef, undef);
close $fh1;