test-data/phony-guests: Fix phony RPM database, fix virt-inspector test.

libguestfs 1.45.3 now reads the RPM database using librpm, which means
our old phony database created by db_dump can no longer work.  Instead
provide a real (but very minimal) sqlite database.

This commit also fixes the virt-inspector test since the RPM database
contents are now different.
This commit is contained in:
Richard W.M. Jones
2021-03-29 12:22:12 +01:00
parent fef73bce7e
commit 42e5e7cfdb
7 changed files with 20 additions and 51 deletions

3
.gitignore vendored
View File

@@ -458,8 +458,7 @@ Makefile.in
/test-data/phony-guests/fedora-luks.img
/test-data/phony-guests/fedora-md1.img
/test-data/phony-guests/fedora-md2.img
/test-data/phony-guests/fedora-name.db
/test-data/phony-guests/fedora-packages.db
/test-data/phony-guests/fedora.db
/test-data/phony-guests/guests.xml
/test-data/phony-guests/guests-all-good.xml
/test-data/phony-guests/stamp-fedora-md.img