pyproject-rpm-macros/tests
Miro Hrončok 2660031756 CI tests: Use ! grep to assert something is missing
Previously, we have used `grep -v` to assert something is *not* there.
However, that doesn't work. See for example this file:

    $ cat TEST
    line1
    line2
    line3

    $ grep -v line4 TEST
    line1
    line2
    line3
    $ echo $?
    0

This gives a false sense of correctness, however it exits will 0 with anything:

    $ grep -v line3 TEST
    line1
    line2
    $ echo $?
    0

Instead, we use `! grep` now:

    $ ! grep line4 TEST
    $ echo $?
    0

    $ ! grep line3 TEST
    line3
    $ echo $?
    1

Additionally, remove a trailing slash from one of the checks to match both cases
(with or without the slash).
2020-10-26 17:18:51 +01:00
..
mocktest.sh Remove Fedora 30 remnants 2020-06-23 11:09:03 +00:00
printrun.spec Test for package with lang files located outside of module 2020-09-04 10:39:52 +02:00
python-clikit.spec BR python3-devel from the test/example specs 2020-10-26 16:11:32 +01:00
python-distroinfo.spec Add integration test for package with setuptools setup_requires 2020-09-23 11:43:35 +02:00
python-django.spec Automatically mark language files with %lang macro 2020-09-04 10:39:52 +02:00
python-dns-lexicon.spec Fix typos 2020-10-01 18:08:06 +02:00
python-entrypoints.spec CI tests: Use ! grep to assert something is missing 2020-10-26 17:18:51 +01:00
python-flit-core.spec CI tests: Workaround old pip missing features in testing specs 2020-10-07 14:27:57 +02:00
python-httpbin.spec Handle Python Extras in %pyproject_buildrequires on Fedora 33+ 2020-08-20 15:30:49 +02:00
python-ipykernel.spec Add test for +auto argument to include data files in other files 2020-08-06 15:26:37 +02:00
python-isort.spec CI tests: Use ! grep to assert something is missing 2020-10-26 17:18:51 +01:00
python-ldap.spec CI tests: Use ! grep to assert something is missing 2020-10-26 17:18:51 +01:00
python-mistune.spec BR python3-devel from the test/example specs 2020-10-26 16:11:32 +01:00
python-openqa_client.spec BR python3-devel from the test/example specs 2020-10-26 16:11:32 +01:00
python-pluggy.spec BR python3-devel from the test/example specs 2020-10-26 16:11:32 +01:00
python-poetry-core.spec CI tests: Workaround old pip missing features in testing specs 2020-10-07 14:27:57 +02:00
python-pytest.spec BR python3-devel from the test/example specs 2020-10-26 16:11:32 +01:00
python-requests.spec CI: Add dns-lexicon to tests new things 2020-10-01 16:35:08 +02:00
python-setuptools_scm.spec Implement %pyproject_extras_subpkg 2020-07-29 17:40:37 +02:00
python-zope-event.spec Improve grep regex for RECORD and REQUESTED files 2020-10-01 09:28:21 +02:00
tests.yml Support PEP 517 list based backend-path 2020-10-07 08:35:45 +02:00
tldr.spec BR python3-devel from the test/example specs 2020-10-26 16:11:32 +01:00