Compare commits

...

10 Commits

Author SHA1 Message Date
Mohan Boddu 5219818d30 Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2021-08-09 20:56:36 +00:00
Pavel Zhukov 99046987c4 Rebase with new dovecot
Resolves: #1987425
2021-07-29 17:55:25 +02:00
Mohan Boddu a5bbf57cc2 Rebuilt for RHEL 9 BETA for openssl 3.0
Related: rhbz#1971065
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2021-06-22 18:39:48 +00:00
Pavel Zhukov 259dae3379 Updated gating yaml 2021-05-07 11:46:02 +02:00
Pavel Zhukov 39ac78a122 Add gating yaml 2021-05-07 10:40:23 +02:00
Mohan Boddu 4de63b8e09 - Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2021-04-16 00:35:08 +00:00
DistroBaker 4f4ce96f04 Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/imaptest.git#279840425eb77baba9441dcac9ac5318da7980b1
2021-03-11 20:03:53 +00:00
DistroBaker f8f5c15f57 Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/imaptest.git#6f0f0c07471f6e1c0111fc0cb79d66855d8fe160
2021-02-04 05:44:02 +01:00
DistroBaker df4930f434 Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/imaptest.git#0de3cbaa4150db0c4a8778757f9040a1b21e0abe
2021-01-18 00:35:38 +00:00
DistroBaker bfc9b9d387 Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/imaptest.git#592d7129811b273a2581549cd4cf46c29ea9b9a5
2020-11-07 23:05:48 +00:00
7 changed files with 178 additions and 13 deletions

6
gating.yaml Normal file
View File

@ -0,0 +1,6 @@
--- !Policy
product_versions:
- rhel-9
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1.functional}

View File

@ -1,13 +1,20 @@
Summary: A generic IMAP server compliancy tester
Name: imaptest
%global git_commit 19add789ce56e3046e1d7fc4968f9b86010b582c
%global git_date 20210507
%global git_short_commit %(echo %{git_commit} | cut -c -8)
%global git_suffix %{git_date}git%{git_short_commit}
Summary: Generic IMAP server compliancy tester
Name: imaptest
# Upstream is not really planning on adding version numbers
Version: 20190614
Release: 4%{?dist}
License: MIT
URL: https://www.imapwiki.org/ImapTest
Source0: https://dovecot.org/nightly/%{name}/%{name}-%{version}.tar.gz
BuildRequires: gcc, dovecot-devel >= 2.3.0
BuildRequires: autoconf, automake, libtool
Version: %{git_date}
Release: 2%{?dist}
License: MIT
URL: https://www.imapwiki.org/ImapTest
Source0: https://github.com/dovecot/%{name}/archive/%{git_commit}/%{name}-%{version}.tar.gz
BuildRequires: gcc, make, dovecot-devel >= 2.3.0
BuildRequires: autoconf, automake, libtool
%description
ImapTest is a generic IMAP server compliancy tester that works with all IMAP
@ -17,10 +24,10 @@ commands to the server and verifies that server's output looks correct. Using
the scripted testing ImapTest runs a list of predefined scripted tests and
verifies that server returns expected output.
Examples and details are provided online at: http://www.imapwiki.org/ImapTest
Examples and details are provided online at: https://www.imapwiki.org/ImapTest
%prep
%setup -q
%autosetup -p1 -n %{name}-%{git_commit}
autoreconf -i
# Workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1103927#c4 (and later)
@ -42,11 +49,37 @@ $RPM_BUILD_ROOT%{_bindir}/%{name} --help
%files
%license COPYING COPYING.MIT
%doc AUTHORS ChangeLog profile.conf pop3-profile.conf
%doc AUTHORS NEWS profile.conf pop3-profile.conf
%{_bindir}/%{name}
%{_datadir}/%{name}/
%changelog
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 20210507-2
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Thu Jul 29 2021 Pavel Zhukov <pzhukov@redhat.com> - 20210507-1
- Rebuild with new dovecot
* Tue Jun 22 2021 Mohan Boddu <mboddu@redhat.com> - 20210305-3
- Rebuilt for RHEL 9 BETA for openssl 3.0
Related: rhbz#1971065
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 20210305-2
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Sat Mar 06 2021 Robert Scheck <robert@fedoraproject.org> 20210305-1
- Upgrade to 20210305 (#1935535)
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 20210116-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Mon Jan 18 2021 Robert Scheck <robert@fedoraproject.org> 20210116-1
- Upgrade to 20210116 (#1916982)
* Sat Nov 07 2020 Robert Scheck <robert@fedoraproject.org> 20200904-1
- Upgrade to 20200904
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 20190614-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (imaptest-20190614.tar.gz) = fab36c347f599409e5d54d3c7e0dfab1caff8d5b9ce7e3aa842ca54b5eeace6565c1747df60da63390c34e95d9d45c908cdf187513369e3468721334e2b9fe80
SHA512 (imaptest-20210507.tar.gz) = 146b42668bbb675d8f35c9259212af7a81fdd585a304cd7bba4ce3845a3b1c3ac84727a73d4c32aa2ebf186308cb7f47133bfd7a739c1fd8af6f4984b1aa5585

View File

@ -0,0 +1,64 @@
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
# Makefile of imaptest-libdovector-integrity
# Description: Test for imaptest with libdovecot
# Author: Pavel Zhukov <pavel@redhat.com>
#
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
# Copyright (c) 2020 Red Hat, Inc.
#
# This program is free software: you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation, either version 2 of
# the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be
# useful, but WITHOUT ANY WARRANTY; without even the implied
# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
# PURPOSE. See the GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see http://www.gnu.org/licenses/.
#
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
export TEST=imaptest-libdovector-integrity
export TESTVERSION=1.0
BUILT_FILES=
FILES=$(METADATA) runtest.sh Makefile PURPOSE
.PHONY: all install download clean
run: $(FILES) build
./runtest.sh
build: $(BUILT_FILES)
test -x runtest.sh || chmod a+x runtest.sh
clean:
rm -f *~ $(BUILT_FILES)
include /usr/share/rhts/lib/rhts-make.include
$(METADATA): Makefile
@echo "Owner: Pavel Zhukov <pavel@redhat.com>" > $(METADATA)
@echo "Name: $(TEST)" >> $(METADATA)
@echo "TestVersion: $(TESTVERSION)" >> $(METADATA)
@echo "Path: $(TEST_DIR)" >> $(METADATA)
@echo "Description: Test for imaptest with libdovecot" >> $(METADATA)
@echo "Type: Sanity" >> $(METADATA)
@echo "TestTime: 1m" >> $(METADATA)
@echo "RunFor: imaptest" >> $(METADATA)
@echo "Requires: imaptest" >> $(METADATA)
@echo "Priority: Normal" >> $(METADATA)
@echo "License: GPLv2+" >> $(METADATA)
@echo "Confidential: no" >> $(METADATA)
@echo "Destructive: no" >> $(METADATA)
@echo "Bug: 1776856" >> $(METADATA)
@echo "Releases: -RHEL4 -RHELClient5 -RHELServer5" >> $(METADATA)
rhts-lint $(METADATA)

View File

@ -0,0 +1,5 @@
PURPOSE of imaptest-libdovector-integrity
Description: Test for imaptest with libdovecot
Author: Pavel Zhukov <pavel@redhat.com>
Bug summary: imaptest must be rebuilt with new libdovecot
Bugzilla link: https://bugzilla.redhat.com/show_bug.cgi?id=1776856

View File

@ -0,0 +1,44 @@
#!/bin/bash
# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
# runtest.sh ofimaptest-libdovector-integrity
# Description: Test for imaptest with libdovecot
# Author: Pavel Zhukov <pavel@redhat.com>
#
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
# Copyright (c) 2020 Red Hat, Inc.
#
# This program is free software: you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation, either version 2 of
# the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be
# useful, but WITHOUT ANY WARRANTY; without even the implied
# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
# PURPOSE. See the GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see http://www.gnu.org/licenses/.
#
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Include Beaker environment
. /usr/bin/rhts-environment.sh || exit 1
. /usr/share/beakerlib/beakerlib.sh || exit 1
PACKAGE="imaptest"
rlJournalStart
rlPhaseStartSetup
rlAssertRpm $PACKAGE
rlPhaseEnd
rlPhaseStartTest
rlRun "imaptest --help"
rlPhaseEnd
rlJournalPrintText
rlJournalEnd

13
tests/tests.yml Normal file
View File

@ -0,0 +1,13 @@
---
# Tests that run in all contexts
- hosts: localhost
vars:
use_beakerlib_libraries: true
roles:
- role: standard-test-rhts
tags:
- classic
tests:
- imaptest-libdovector-integrity
required_packages:
- findutils # beakerlib needs find command