mirror of
git://git.proxmox.com/git/pve-network.git
synced 2025-05-01 03:27:13 +02:00
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:
parent
1e289d2303
commit
1ed61845d4
|
@ -36,7 +36,7 @@ foreach my $test (@tests) {
|
||||||
|
|
||||||
my $sdn_config = read_sdn_config ("./$test/sdn_config");
|
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);
|
my $interfaces_config = PVE::INotify::__read_etc_network_interfaces($fh1, undef, undef);
|
||||||
close $fh1;
|
close $fh1;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue