tests: migrate from STI to TMT

Related: https://fedoraproject.org/wiki/Changes/DisableSTI
This commit is contained in:
Lukáš Zaoral 2025-07-04 13:39:06 +02:00
commit 66c0191743
No known key found for this signature in database
GPG key ID: 39157506DD67752D
15 changed files with 106 additions and 27 deletions

View file

@ -0,0 +1,20 @@
summary: Diff appears to hang in long file
description: "Test Name: diff-hang-long-files\nAuthor: Michal Fabry <mfabry@redhat.com>\n\
Location: /CoreOS/diffutils/Regression/diff-hang-long-files\n\nShort Description:
Diff appears to hang in long file\n\n\nLong Description:\n\nRunning the \"diff
-bBw\" command on a very large input file (eg 250 MB), in a multi-byte locale
(ie UTF-8), took a very long time to complete, if at all. In a reported case,
a diff ran for multiple days and did not complete. In certain situations, this
could cause 100% CPU usage.\n"
contact: Michal Fabry <mfabry@redhat.com>
component:
- diffutils
test: ./runtest.sh
framework: beakerlib
recommend:
- diffutils
- words
- time
duration: 5m
extra-summary: /CoreOS/diffutils/Regression/diff-hang-long-files
extra-task: /CoreOS/diffutils/Regression/diff-hang-long-files

2
tests/diff-hang-long-files/runtest.sh Normal file → Executable file
View file

@ -15,7 +15,6 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# Include Beaker environment
. /usr/bin/rhts-environment.sh || exit 1
. /usr/share/beakerlib/beakerlib.sh || exit 1
@ -76,3 +75,4 @@ rlPhaseEnd
#rlCreateLogFromJournal | tee $OUTPUTFILE
rlJournalPrintText
rlJournalEnd