Skip to content

Commit

Permalink
Fix missing tar command error in /per-rule tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mildas authored and comps committed Aug 6, 2024
1 parent cfb492d commit 5d1c88b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions per-rule/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ def report_test_with_log(status, note, log_dir, rule_name, test_name):
# install a qcow2-backed VM, so automatus.py can snapshot it
# - use hardening-style partitions, automatus tests need them
ks = virt.Kickstart(partitions=partitions.partitions)
ks.packages.append('tar')
g.install(kickstart=ks, disk_format='qcow2')

with util.get_content() as content_dir, g.booted():
Expand Down

0 comments on commit 5d1c88b

Please sign in to comment.