mirror of
https://github.com/clearlinux/cve-check-tool.git
synced 2026-09-05 13:11:41 +00:00
extend to src.rpm tests
This commit is contained in:
@@ -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.
Reference in New Issue
Block a user