Skip to content

Commit

Permalink
Fix snapper_zypp test
Browse files Browse the repository at this point in the history
  • Loading branch information
cedvid committed Jan 30, 2025
1 parent bce298f commit 3b06163
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/console/snapper_zypp.pm
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ use Test::Assert 'assert_equals';

sub get_snapshot_id {
my $snapshot_id = is_sle("<=12-SP5") ? '$3' : '$1';
record_info("DEBUG", script_run("snapper ls"));
return script_output("snapper ls | awk 'END {print $snapshot_id}'");
}

Expand Down

0 comments on commit 3b06163

Please sign in to comment.