Skip to content

Commit

Permalink
wip: show error status
Browse files Browse the repository at this point in the history
  • Loading branch information
frankiejol committed Feb 8, 2024
1 parent dabbc8b commit d357945
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/vm/94_ports_exposed.t
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ sub test_expose_port($vm) {
is(scalar(@prerouting),1);
my @out= split /\n/, `iptables-save`;
my @forward = (grep /-s $remote_ip2\/32 -d $internal_ip.* --dport 22.*-j ACCEPT/, @out);
is(scalar(@forward),1) or die Dumper([grep /FORWARD/,@out]);
is(scalar(@forward),1,"-s $remote_ip2\/32 -d $internal_ip.* --dport 22.*-j ACCEPT") or die Dumper([grep /FORWARD/,@out]);
}

sub _wait_ip2($vm_name, $domain) {
Expand Down

0 comments on commit d357945

Please sign in to comment.