summaryrefslogtreecommitdiff
path: root/tests/rpmverify.at
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2017-10-12 15:51:26 +0300
committerPanu Matilainen <pmatilai@redhat.com>2017-10-12 16:30:39 +0300
commit92b718bb0e98ecaea6d4229eab9ef3bc0220d9c2 (patch)
tree7de1cd505d6bf83cc11cacef1d92fabcb3d04431 /tests/rpmverify.at
parentff5e2874f8b2e44722354a7a593f8b71a9603109 (diff)
downloadrpm-92b718bb0e98ecaea6d4229eab9ef3bc0220d9c2.tar.gz
Don't assume per-user groups in test-suite
The tests from commits f2d3be2a8741234faaa96f5fd05fdfdc75779a79 and c815822c8bdb138066ff58c624ae83e3a12ebfa9 assume per-user groups, but this is not a generally valid assumption and causes unnecessary bogus failures in the test-suite in some setups (eg mock)
Diffstat (limited to 'tests/rpmverify.at')
-rw-r--r--tests/rpmverify.at1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/rpmverify.at b/tests/rpmverify.at
index c5530de69..78f50fd33 100644
--- a/tests/rpmverify.at
+++ b/tests/rpmverify.at
@@ -78,6 +78,7 @@ runroot rpmbuild --quiet -bb \
--define "filetype datadir" \
--define "filedata README1" \
--define "user $(id -u -n)" \
+ --define "grp $(id -g -n)" \
/data/SPECS/replacetest.spec
runroot rpm -U /build/RPMS/noarch/replacetest-1.0-1.noarch.rpm