Fix import of this package

Add the tests, fix sources, fix gitignore

related: rhbz#2217407
This commit is contained in:
Richard W.M. Jones 2023-06-28 13:49:05 +01:00
parent 3828aff79d
commit 3ad579a7e3
4 changed files with 20 additions and 2 deletions

4
.gitignore vendored
View File

@ -1,2 +1,2 @@
/virt-what-1.18.tar.gz
/virt-what-1.25.tar.gz
/virt-what-*.tar.gz
/virt-what-*.tar.gz.sig

View File

@ -1 +1,2 @@
SHA512 (virt-what-1.25.tar.gz) = 0147b4b44ae0ee685977aa34dfa9bf30ae8e0eb31b7a6d5c0097d16f830fa6fb6afd7156964fc79f3fd5e82b2f68d921fd5306245cc63a2140f6dddc7fdd0e98
SHA512 (virt-what-1.25.tar.gz.sig) = fee5eee4c9b888c6d89512b01cb3a482f8c788d4618c4b2c6e8e709e4d57aa76647463bb06912da2398fd1fd59cb28c38592b7a7de673f4aa27a77d1b2b969c3

6
tests/basic-test.sh Executable file
View File

@ -0,0 +1,6 @@
#!/bin/bash -
set -e
set -x
# This test requires root to run.
virt-what

11
tests/tests.yml Normal file
View File

@ -0,0 +1,11 @@
- hosts: localhost
roles:
- role: standard-test-basic
tags:
- classic
required_packages:
- virt-what
tests:
- simple:
dir: .
run: ./basic-test.sh