Skip to content

Commit

Permalink
Fix if branch to unless
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioAtSUSE committed Feb 24, 2018
1 parent 7f8449b commit 8730bba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/console/docker.pm
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ sub run {

# network is working inside of the containers
$output = script_output('docker container run tw:saved curl -I google.de');
die("network is not working inside of the container tw:saved") if ($output =~ m{Location: http://www.google.de/});
die("network is not working inside of the container tw:saved") unless ($output =~ m{Location: http://www\.google\.de/});

# containers can be stopped
assert_script_run("docker container stop $container_name");
Expand Down

0 comments on commit 8730bba

Please sign in to comment.