First test plan

Related: RHEL-24052
This commit is contained in:
Jakub Čajka 2024-05-02 11:18:48 +02:00
parent 98e4c723e7
commit ec8aa0531b
No known key found for this signature in database
GPG Key ID: 48DAAF91F61E4F5D
7 changed files with 42 additions and 2 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

View File

@ -4,4 +4,3 @@ product_versions:
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
- !PassingTestCaseRule {test_case_name: desktop-qe.desktop-ci.tier1-gating.functional}

16
rpminspect.yaml Normal file
View File

@ -0,0 +1,16 @@
# Configuration file for rpminspect
# Ignore false positives found by badfuncs.
#
# Forbidden function symbols found:
# gethostbyname
# inet_addr
# inet_ntoa
#
badfuncs:
ignore:
- /usr/bin/pr3287
- /usr/bin/s3270
- /usr/bin/c3270
- /usr/bin/x3270

8
tests/smoke/main.fmf Normal file
View File

@ -0,0 +1,8 @@
summary: Basic smoke test
component: x3270
tier: 0
test: ./test.sh
require:
- x3270
- xorg-x11-server-Xvfb

3
tests/smoke/test.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh -eux
echo -e 'Wait(3, seconds)\nQuit()' | xvfb-run -s '-screen 0 640x480x8 -extension RANDR' x3270 -script

9
whatever.fmf Normal file
View File

@ -0,0 +1,9 @@
summary: Basic smoke test
discover:
- name: internal
how: fmf
url: git://pkgs.devel.redhat.com/tests/x3270
- name: dist-git
how: fmf
execute:
how: tmt

View File

@ -4,7 +4,7 @@
Summary: An X Window System based IBM 3278/3279 terminal emulator
Name: x3270
Version: 4.3ga8
Release: 2%{?dist}
Release: 3%{?dist}
License: BSD-3-Clause AND HPND-sell-variant AND MIT AND Apache-2.0
URL: https://x3270.miraheze.org/wiki/Main_Page
Source0: http://downloads.sourceforge.net/%{name}/suite3270-%{version}-src.tgz
@ -25,6 +25,7 @@ Summary: IBM 3278/3279 terminal emulator for the X Window System
BuildRequires: mkfontdir bdftopcf
BuildRequires: libXaw-devel
Requires: %{name} = %{version}
Requires: xrdb
%package text
Summary: IBM 3278/3279 terminal emulator for text mode
@ -113,6 +114,9 @@ desktop-file-install \
%changelog
* Thu May 02 2024 Jakub Čajka <jcajka@redhat.com> 4.3ga8-3
- yet another release bump
* Fri Apr 26 2024 Jakub Čajka <jcajka@redhat.com> 4.3ga8-2
- release bump