Commit Graph

10 Commits

Author SHA1 Message Date
Vincent Mihalkovic
a75338dc0e tests: minor syntactic fixes 2023-09-13 13:26:09 +02:00
Vincent Mihalkovic
7802ea67c9 tests: parameterize the rebuild-{TEST_PACKAGE:-coreutils} test
TEST_PACKAGE is specified by user,
by default the coreutils package is used.
2023-09-12 09:03:33 +00:00
Vincent Mihalkovic
8717428e9e release new file-5.45 and update tests
Resolves: rhbz#2227099
2023-08-14 14:53:37 +02:00
Lukáš Zaoral
f4e6172807 tests/file-tests: check stderr as well 2023-03-02 12:17:30 +00:00
Vincent Mihalkovic
382877771c Fix the size limit of the elf note section
tests: test written by lzaoral, thanks!
Resolves: rhbz#2167964
2023-02-09 14:12:13 +01:00
Vincent Mihalkovic
02937e1761 release new file-5.44 and update outputs in tests
Resolves: rhbz#2126540
2023-01-26 15:19:06 +01:00
Vincent Mihalkovic
7e68155ffb test: add the rebuild-coreutils test
This test is an improved copy of the https://src.fedoraproject.org/rpms/binutils/blob/rawhide/f/tests/Sanity/rebuild-coreutils.
2023-01-21 13:28:49 +01:00
Vincent Mihalkovic
2dd88dfd9f tests: port tests to tmt
In this commit we:

1. Use `tmt tests import` to gather all related
   metadata from tests/Support-local-additions-to-magic-files
   and tests/command-line-options directories and
   convert them into tmt format.
2. Add missing requirement for bzip2 in
   tests/command-line-options/{Makefile,main.fmf}
   files.
3. Replace an obsolescent `egrep` with a `grep -E`
   command in the tests/command-line-options/runtest.sh
   file.
4. Create new tests/file-tests/Makefile file.
5. Use `tmt tests import` to convert the
   tests/file-tests and all related
   metadata into tmt format.
6. Simplify and update tests/file-tests/{prepare.sh,
   runtest.sh,reference.sh,readfile.py} scripts.
   Thank you lzaoral!
7. Update and create new "references" (file-5.42.4 outputs)
   in the file-tests/reference.
8. Rename the file-tests/blacklist.txt to
   file-tests/blocklist.txt.
9. Replace the tests/tests.yml file with
   the plans/file-CI-plan.fmf file.
2023-01-17 13:59:28 +01:00
Ondrej Dubaj
3fbcbe247e created fedora CI tests, test cases from repo file/file-tests 2019-03-12 10:21:27 +01:00
Andrei Stepanov
34ce033c10 Add CI tests using the standard test interface
Adds tests according to the CI wiki [0] specifically the standard test interface in the spec [1].

[0]: https://fedoraproject.org/wiki/CI
[1]: https://fedoraproject.org/wiki/Changes/InvokingTests
2017-10-04 11:15:05 +00:00