[Rpm-maint] [rpm-software-management/rpm] Make the second urlhelper test much less racy (PR #3221)

Panu Matilainen notifications at github.com
Tue Jul 30 09:01:14 UTC 2024


/bin/false exits so fast that racing with the parent output order is a fifty-sixty situation at best. Use a purpose-made shell script that does a bit of IO and even sleeps a bit, which together with shell startup time should be plenty enough to guarantee stable output for most practical purposes. If it *still* bugs us after this, we can always sort the output.

Fixes: #3210
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/3221

-- Commit Summary --

  * Make the second urlhelper test much less racy

-- File Changes --

    M tests/rpmgeneral.at (14)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/3221.patch
https://github.com/rpm-software-management/rpm/pull/3221.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/3221
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/3221 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20240730/d4cee47b/attachment.html>


More information about the Rpm-maint mailing list