extend to src.rpm tests

This commit is contained in:
Arjan van de Ven
2015-04-10 12:02:52 -04:00
parent 339f168ab9
commit f0bb767dc7
2 changed files with 4 additions and 0 deletions
+4
View File
@@ -77,6 +77,10 @@ START_TEST(cve_rpm_test)
fail_if(!pkg, "Failed to inspect RPM spec!");
package_free(pkg);
pkg = rpm_inspect_srpm(TOP_DIR "/tests/dummy_data/rpm/", "package", "1.", "5" );
fail_if(!pkg, "Failed to inspect source RPM!");
package_free(pkg);
pkg = rpm_inspect_spec(TOP_DIR "/tests/dummy_data/rpm/package.spec");
fail_if(!pkg, "Failed to inspect RPM spec!");
Binary file not shown.