From 1ed61845d49881adf1e959c22ac68cd6fcdf2ec1 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Wed, 29 Nov 2023 11:39:46 +0100 Subject: [PATCH] tests: zone: include error if test interfaces file cannot be opened Signed-off-by: Thomas Lamprecht --- src/test/run_test_zones.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/run_test_zones.pl b/src/test/run_test_zones.pl index dd55317..8e34746 100755 --- a/src/test/run_test_zones.pl +++ b/src/test/run_test_zones.pl @@ -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; -- 2.39.5