SHA256
1
0
forked from pool/coreutils
coreutils/coreutils-skip-gnulib-test-tls.patch
Dirk Mueller 39d32b358a - update to 9.1:
* chmod -R no longer exits with error status when encountering symlinks.
    All files would be processed correctly, but the exit status was incorrect.
  * If 'cp -Z A B' checks B's status and some other process then removes B,
    cp no longer creates B with a too-generous SELinux security context
    before adjusting it to the correct value.
  * 'cp --preserve=ownership A B' no longer ignores the umask when creating B.
    Also, 'cp --preserve-xattr A B' is less likely to temporarily chmod u+w B.
  * 'id xyz' now uses the name 'xyz' to determine groups, instead of xyz's uid.
  * 'ls -v' and 'sort -V' no longer mishandle corner cases like "a..a" vs "a.+"
    or lines containing NULs.  Their behavior now matches the documentation
    for file names like ".m4" that consist entirely of an extension,
    and the documentation has been clarified for unusual cases.
  * 'mv -T --backup=numbered A B/' no longer miscalculates the backup number
    for B when A is a directory, possibly inflooping.
  * cat now uses the copy_file_range syscall if available, when doing
    simple copies between regular files.  This may be more efficient, by avoiding
    user space copies, and possibly employing copy offloading or reflinking.
  * chown and chroot now warn about usages like "chown root.root f",
    which have the nonstandard and long-obsolete "." separator that
    causes problems on platforms where user names contain ".".
    Applications should use ":" instead of ".".
  * cksum no longer allows abbreviated algorithm names,
    so that forward compatibility and robustness is improved.
  * date +'%-N' now suppresses excess trailing digits, instead of always
    padding them with zeros to 9 digits.  It uses clock_getres and
    clock_gettime to infer the clock resolution.
  * dd conv=fsync now synchronizes output even after a write error,
    and similarly for dd conv=fdatasync.
  * dd now counts bytes instead of blocks if a block count ends in "B".

OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=325
2022-04-21 21:12:05 +00:00

38 lines
1.2 KiB
Diff

Subject: Skip the gnulib test 'test-tls' on some platforms
On i586, x86_64, ppc and ppc64, this test is known to sometimes fail
with a diagnostic like:
Starting test_tls ...*** Error in `./test-tls': free(): invalid pointer: 0x00007f21500008c0 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x7406f)[0x7f215845006f]
/lib64/libc.so.6(+0x7989e)[0x7f215845589e]
/lib64/libpthread.so.0(+0x7ee2)[0x7f215878fee2]
/lib64/libpthread.so.0(+0x813e)[0x7f215879013e]
/lib64/libc.so.6(clone+0x6d)[0x7f21584c3d6d]
* gnulib-tests/gnulib.mk (test-tls): Comment to skip for now.
---
gnulib-tests/gnulib.mk | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
Index: gnulib-tests/gnulib.mk
===================================================================
--- gnulib-tests/gnulib.mk.orig
+++ gnulib-tests/gnulib.mk
@@ -2676,9 +2676,10 @@ EXTRA_DIST += test-timespec.c macros.h
## begin gnulib module tls-tests
-TESTS += test-tls
-check_PROGRAMS += test-tls
-test_tls_LDADD = $(LDADD) @LIBMULTITHREAD@ @YIELD_LIB@
+# Fails on i586 and x86_64.
+#TESTS += test-tls
+#check_PROGRAMS += test-tls
+#test_tls_LDADD = $(LDADD) @LIBMULTITHREAD@ @YIELD_LIB@
EXTRA_DIST += test-tls.c