[Rpm-maint] [rpm-software-management/rpm] Test 12 (testing urlhelper fails) is racy (Issue #3210)

Florian Festi notifications at github.com
Fri Jul 19 08:42:41 UTC 2024


There is an empty line / new line moving around.

```
## ---------------------- ##
## Detailed failed tests. ##
## ---------------------- ##

#                             -*- compilation -*-
12. rpmgeneral.at:401: testing urlhelper fails ...
/rpmgeneral.at:404:
runroot rpm --define "_urlhelper /bin/false" --root /srv/test -qp https://example.com/foo-0.1-1.noarch.rpm 2> >(sed 's| /.*rpm-tmp.* https| rpm-tmp https|' | sort >&2)

--- -	2024-07-05 11:50:09.240892131 +0000
+++ /srv/rpmtests.dir/at-groups/12/stderr	2024-07-05 11:50:09.238121757 +0000
@@ -1,3 +1,3 @@
+
 error: Executing url helper "/bin/false rpm-tmp https://example.com/foo-0.1-1.noarch.rpm" failed with status 1
 error: open of https://example.com/foo-0.1-1.noarch.rpm failed: No such file or directory
-
12. rpmgeneral.at:401: 12. urlhelper fails (rpmgeneral.at:401): FAILED (rpmgeneral.at:404)
```

Using `sort` as above doesn't fix it.

This has been mentioned in #3196 previously but deserves it's own ticket.

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

Message ID: <rpm-software-management/rpm/issues/3210 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20240719/47ad1acb/attachment-0001.html>


More information about the Rpm-maint mailing list