Skip to content

Commit

Permalink
containers: Use /var/tmp for buildah upstream tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardobranco777 committed Aug 13, 2024
1 parent 7be2969 commit 6279b3b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/containers/buildah_integration.pm
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@ sub run_tests {

my @skip_tests = split(/\s+/, get_var('BUILDAH_BATS_SKIP', '') . " " . $skip_tests);

my $tmp_dir = script_output("mktemp -d /var/tmp/tmp.XXXXXXXXXX");
my $tmp_dir = "/var/tmp";

assert_script_run "echo $log_file .. > $log_file";
script_run "BATS_TMPDIR=$tmp_dir TMPDIR=$tmp_dir BUILDAH_BINARY=/usr/bin/buildah STORAGE_DRIVER=overlay bats --tap tests | tee -a $log_file", 4200;
patch_logfile($log_file, @skip_tests);
parse_extra_log(TAP => $log_file);

assert_script_run "rm -rf $tmp_dir";
assert_script_run "rm -rf $tmp_dir/buildah*";
assert_script_run "buildah prune -a -f";
}

Expand Down

0 comments on commit 6279b3b

Please sign in to comment.