Adam Williamson
53e1e785a0
Update the Sanity/testsuite test for new build location
...
6bfd06790b
changed where the build
actually happens, so these cp commands fail and break the test.
This change is based on the version in
https://gitlab.com/redhat/centos-stream/rpms/binutils/-/blob/c9s/tests/Sanity/testsuite/runtest.sh
but reimplemented in line with the rest of this somewhat
different version of the test (I am not sure what the story is
with these different versions of the tests in Fedora vs. CentOS
Stream, I'm trying to find that out).
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-08-17 17:50:22 -07:00
Adam Williamson
ccf531f53d
Update a regression test for a changed error text
...
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-08-17 17:46:18 -07:00
Adam Williamson
78d9a63f8b
Use uname -m
instead of uname -i
...
-i (and -p) just say "unknown", since Fedora 38:
https://bugzilla.redhat.com/show_bug.cgi?id=2203350
-m still seems to do the right thing.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-08-17 10:02:13 -07:00
Václav Kadlčík
10575a5d52
Fix RHBZ#1311352 test for newer Fedora versions
...
The test used nscd which has been obsoleted by Fedora [1]. Fortunately
that package was just an example, any package using the same debuginfo
layout will do. Let's use coreutils instead.
[1] https://fedoraproject.org/wiki/Changes/RemoveNSCD
2022-02-16 13:37:38 +01:00
Václav Kadlčík
5dbfbba047
Fix the setup in tests/Sanity/testsuite
...
"koji download-build" is a wrong tool to download artifacts being
tested. They are freshly scratch-built and hosted in a local repo
called "test-artifacts" unknown to koji. Using "dnf download"
directly and limited to that specific repo is a correct way to
reach them.
I'm adding a fallback using the repo's local files just in case
"dnf" suffers some temporary hiccup.
2021-11-16 08:47:43 +00:00
Nick Clifton
dcb64b3d34
Fix a couple of test failures
2021-08-19 16:29:28 +01:00
Václav Kadlčík
acab70872f
Remove RHEL's regression test for #1804696
...
After [1] the reproducer isn't valid any more. Fortunately there's
a better reproducer and it's included in the internal test suite
(pr25458) and we run the suite (see tests/Sanity/testsuite). To sum
it up, we can delete the #1804696 test.
[1] 52d0948022
2021-07-01 21:02:27 +02:00
Václav Kadlčík
24cc8051d1
More debuginfos needed in test Regression/bz1311352
2021-07-01 18:15:39 +02:00
Václav Kadlčík
58f355fcc3
Un-break test Sanity/dts-probe-binaries for glibc 2.34
...
Don't look for __libc_csu_init, it's not in binaries built with glibc
2.34. See [1].
[1] https://sourceware.org/git/?p=glibc.git;a=commit;h=035c012e32c11e84d64905efaf55e74f704d3668
2021-07-01 16:47:41 +02:00
Václav Kadlčík
c82e600f3f
Unbreak tests/Sanity/rebuild-coreutils
...
Work around #1960792 (a coreutils bug). While the systems running
Fedora CI are still affected, the fix is already in the update
repos. Using "dnf update coreutils" should be enough to make our
test pass.
2021-06-01 14:08:24 +00:00
Václav Kadlčík
284ad2a04b
Import RHEL's regression test for #1804696
...
A tweak was needed for Rawhide (or anything after [1]): readelf
requires "-W" to display the "_environ" symbol without truncating.
[1] https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=0942c7ab94e554657c3e11ab85ae7f15373ee80d
2021-05-26 07:34:05 +02:00
Václav Kadlčík
8b9a64065d
Import RHEL's test Sanity/rebuild-coreutils
2021-05-25 08:38:59 +02:00
Václav Kadlčík
518691547f
Import RHEL's test Sanity/rebuild-wget
2021-05-25 08:38:34 +02:00
Václav Kadlčík
8d1431acf8
Import RHEL's test Sanity/rebuild-emacs
2021-05-25 08:37:46 +02:00
Václav Kadlčík
5069c58e30
Import RHEL's test Sanity/testsuite
...
It's a wrapper for the upstream test suite.
There's one small addition (already inherited from RHEL) covering
but I'm keeping it here for convenience as it works with the upstream
test suite too. I've slightly modified it to make it work beyond
RHEL 8. The modification is based on the final upstream fix [1] and
the related discussion in thread [2].
[1] https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=6bf4a34047452f882c5cc66bd85812ee1bb5a41c
[2] https://sourceware.org/pipermail/binutils/2018-August/104304.html
2021-05-14 10:11:23 +02:00
Václav Kadlčík
64cf74e8a3
Fix RHEL's test Sanity/dts-probe-binaries
...
Here are the changes, promised in the import commit:
- Adapt to binutils 2.36.1:
- ".dynstr" no longer in the symbol table, see
https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=d1bcae833b32f1408485ce69f844dcd7ded093a8
- only one '@' for undefined symbols in the symbol table, see
https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=3f2e9699234ca31d083bc93ea6e03903f10baeaf
- Remove code specific to older RHELs
2021-05-12 05:41:19 +02:00
Václav Kadlčík
22348da57d
Import RHEL's test Sanity/dts-probe-binaries
...
Unchanged yet, failing on Fedora Rawhide. I'll fix it in the
upcoming commit.
2021-05-12 05:39:34 +02:00
Václav Kadlčík
8e50243c45
Import RHEL's regression test for #241252
2021-05-11 15:30:04 +00:00
Václav Kadlčík
95e9eaea23
Import RHEL's regression test for #430856
2021-05-11 15:30:04 +00:00
Václav Kadlčík
3740b5fe3f
Import RHEL's regression test for #435078
2021-05-11 15:30:04 +00:00
Václav Kadlčík
2c6bc398b0
Import RHEL's regression test for #480009
2021-05-11 15:30:04 +00:00
Václav Kadlčík
fe3f218ee7
Import RHEL's regression test for #495196
2021-05-11 15:30:04 +00:00
Václav Kadlčík
ba92017b68
Import RHEL's regression test for #509124
2021-05-11 15:30:04 +00:00
Václav Kadlčík
14a74d027d
Import RHEL's regression test for #531269
2021-05-11 15:30:04 +00:00
Václav Kadlčík
1f73172fe0
Import RHEL's regression test for #533321
2021-05-11 15:30:04 +00:00
Václav Kadlčík
001cb68e0a
Import RHEL's regression test for #578576
2021-05-11 15:30:04 +00:00
Václav Kadlčík
22c57fab15
Import RHEL's regression test for #587788
2021-05-11 15:30:04 +00:00
Václav Kadlčík
4594b7d025
Fix a too old path to the test framework in a CI test
2021-04-29 13:52:03 +02:00
Václav Kadlčík
37d46f62b4
More precise setup in the #1311352 CI test
2021-04-29 11:00:35 +02:00
Václav Kadlčík
eb66e6ad98
Remove a useless import breaking the #689829 CI test
2021-04-29 08:55:09 +02:00
Václav Kadlčík
248005fd4b
Import RHEL's regression test for #689829
2021-04-28 13:38:57 +02:00
Václav Kadlčík
cf75a87f18
Import RHEL's regression test for #698005
2021-04-28 13:38:57 +02:00
Václav Kadlčík
aa0db47566
Import RHEL's regression test for #748927
2021-04-28 13:38:57 +02:00
Václav Kadlčík
06dff1c717
Import RHEL's regression test for #755872
2021-04-28 13:38:57 +02:00
Václav Kadlčík
6becef8c86
Import RHEL's regression test for #850832
2021-04-28 13:38:57 +02:00
Václav Kadlčík
5368a04b59
Import RHEL's regression test for #872148
2021-04-28 13:38:57 +02:00
Václav Kadlčík
c58376bae6
Import RHEL's regression test for #895241
2021-04-28 13:38:57 +02:00
Václav Kadlčík
d8a8efd579
Import RHEL's regression test for #916214
2021-04-28 13:38:57 +02:00
Václav Kadlčík
8b0542614c
Import RHEL's regression test for #959422
2021-04-28 08:27:22 +02:00
Václav Kadlčík
b0c79a4304
Import RHEL's regression test for #1174826
2021-04-28 08:26:46 +02:00
Václav Kadlčík
6df1ce83dc
Import RHEL's regression test for #1080077
2021-04-28 08:25:53 +02:00
Václav Kadlčík
0fc29a6fe4
Import RHEL's regression test for #1117458
2021-04-28 08:25:53 +02:00
Václav Kadlčík
31a5e2d113
Import RHEL's regression test for #1172766
2021-04-28 08:25:53 +02:00
Václav Kadlčík
4504773204
Import RHEL's regression test for #1226864
2021-04-16 13:02:35 +02:00
Václav Kadlčík
565577c240
Import RHEL's regression test for #1243559
2021-04-16 13:02:35 +02:00
Václav Kadlčík
d78b2cccc1
Import RHEL's regression test for #1248929
2021-04-16 13:02:35 +02:00
Václav Kadlčík
ae526f4dc7
Import RHEL's regression test for #1311352
2021-04-16 13:02:35 +02:00
Václav Kadlčík
c468b0dfdd
Import RHEL's regression test for #1366145
2021-04-16 13:02:35 +02:00
Václav Kadlčík
484107a803
Import RHEL's regression test for #1433075
2021-04-14 06:31:29 +02:00
Václav Kadlčík
9cd058771f
Import RHEL's regression test for #1439350
2021-04-14 06:31:29 +02:00