mirror of
https://github.com/goreleaser/nfpm.git
synced 2026-06-19 08:05:04 +00:00
test: fix rpm tests
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
This commit is contained in:
Vendored
+1
-1
@@ -83,7 +83,7 @@ RUN rpm -q gpg-pubkey --qf '%{NAME}-%{VERSION}-%{RELEASE}\t%{SUMMARY}\n'
|
||||
RUN rpm -K /tmp/foo.rpm
|
||||
RUN rpm -K /tmp/foo.rpm | grep -E "(?:pgp|digests signatures) OK"
|
||||
RUN rpm -vK /tmp/foo.rpm
|
||||
RUN rpm -vK /tmp/foo.rpm | grep "RSA/SHA256 Signature, key ID 15bd80b3: OK"
|
||||
RUN rpm -vK /tmp/foo.rpm | grep "Header OpenPGP V4 RSA/SHA256 signature, key fingerprint: 866f6c83bab3e49381ade4c1bc8acdd415bd80b3: OK"
|
||||
|
||||
# Test with a repo
|
||||
RUN yum install -y createrepo yum-utils
|
||||
|
||||
Reference in New Issue
Block a user