Skip to content

Commit

Permalink
Fix tests around genesis.use_create_env
Browse files Browse the repository at this point in the history
  • Loading branch information
dennisjbell committed Sep 27, 2022
1 parent d4893fb commit 683f62b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/30-env.t
Original file line number Diff line number Diff line change
Expand Up @@ -1659,7 +1659,7 @@ EOF
eq_or_diff ref($env->{__bosh}), ref($env_from_evs->{__bosh}), "reconstituted correct bosh director";
} elsif ($property eq '__params') {
# Tweak some known acceptable differences
$env->{__params}{genesis}{use_create_env} = $env->{__params}{genesis}{use_create_env} ? 1 : 0;
$env->{__params}{genesis}{use_create_env} = $env->{__params}{genesis}{use_create_env} =~ /^(1|on|true|yes)$/i ? 'true' : 'false';
cmp_deeply($env_from_evs->{__params},$env->{__params}, "reconstituted correct parameters");
} elsif ($property eq '__tmp') {
eq_or_diff dirname($env->{__tmp}), dirname($env_from_evs->{__tmp}), 'reconstituted similar tmp dirs';
Expand Down

0 comments on commit 683f62b

Please sign in to comment.