This is an automated email from the git hooks/post-receive script.
praiskup pushed a commit to branch master in repository copr/copr.
commit 8519caec2735f0292e30768b855c1bcbc4d5530e Author: Jakub Kadlcik frostyx@email.cz AuthorDate: Fri Jul 26 10:02:22 2019 +0200
beaker-tests-sanity: fix the way of checking whether a module is visible on the system
The output of `dnf module list` have probably changed because now the test doesn't make any sense. There is no version number on this line. --- beaker-tests/Sanity/copr-cli-basic-operations/runtest-modules.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/beaker-tests/Sanity/copr-cli-basic-operations/runtest-modules.sh b/beaker-tests/Sanity/copr-cli-basic-operations/runtest-modules.sh index 4ab4c95..cdba74f 100755 --- a/beaker-tests/Sanity/copr-cli-basic-operations/runtest-modules.sh +++ b/beaker-tests/Sanity/copr-cli-basic-operations/runtest-modules.sh @@ -189,7 +189,8 @@ rlJournalStart # https://github.com/rpm-software-management/dnf-plugins-core/pull/214 rlRun "curl $FRONTEND_URL/coprs/$USER/module-testmodule-beakertest-$DATE/module_repo/fedora-$FEDORA_VERSION/testmodule-beakertest-$DATE.repo > /etc/yum.repos.d/testmodule.repo"
- rlAssertEquals "Module should be visible in the system" `dnf module list |grep testmodule |grep beakertest |grep $DATE |grep -v "Copr modules repo" |wc -l` 1 + rlAssertEquals "Module should be visible in the system" `dnf module list |grep testmodule |grep beakertest |grep -v "Copr modules repo" |wc -l` 1 + rlAssertEquals "Module should be available in the correct version" `dnf module info testmodule:beakertest |grep Version |grep $DATE |wc -l` 1 rlRun "dnf module enable testmodule:beakertest" rlRun "dnf -y module install testmodule/default" rlRun "rpm -q mksh"