Skip to content

Commit

Permalink
Merge pull request #19949 from DeepthiYV/libgit2_leap
Browse files Browse the repository at this point in the history
Fix libgit2 test
  • Loading branch information
DeepthiYV authored Aug 15, 2024
2 parents faeed1f + 4f98731 commit 24bdcb4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/console/libgit2.pm
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,11 @@ sub run {
}

sub clean_up {
assert_script_run "pip3.$python_sub_version uninstall pygit2 -y --break-system-packages";
zypper_call "rm python3$python_sub_version-pygit2";
my $out = script_output "python3.$python_sub_version pygit2_test.py", proceed_on_failure => 1;
zypper_call "rm python3$python_sub_version";
assert_script_run "rm -rf libgit2";
die("uninstalling of python3$python_sub_version-pygit2 failed") if (index($out, "ModuleNotFoundError") == -1);
}

sub post_fail_hook {
Expand Down

0 comments on commit 24bdcb4

Please sign in to comment.