SHA256
1
0
forked from pool/findutils
findutils/disable-null-ptr-test.patch
Bernhard Voelker 7dcb2ee0ac Accepting request 830587 from home:berny:branches:Base:System
- findutils-gnulib-test-avoid-FP-perror-strerror.patch: Add patch to
avoid false-positive error in gnulib tests 'test-perror2' and
'test-strerror_r', visible on armv7l.
- findutils.spec: Reference the patch.
- disable-null-ptr-test.patch: Refresh with -p0.

OBS-URL: https://build.opensuse.org/request/show/830587
OBS-URL: https://build.opensuse.org/package/show/Base:System/findutils?expand=0&rev=88
2020-08-30 10:11:40 +00:00

20 lines
636 B
Diff

---
gnulib-tests/test-canonicalize.c | 4 ----
1 file changed, 4 deletions(-)
Index: gnulib-tests/test-canonicalize.c
===================================================================
--- gnulib-tests/test-canonicalize.c.orig
+++ gnulib-tests/test-canonicalize.c
@@ -71,10 +71,6 @@ main (void)
ASSERT (result2 == NULL);
ASSERT (errno == ENOENT);
errno = 0;
- result1 = canonicalize_file_name (null_ptr ());
- ASSERT (result1 == NULL);
- ASSERT (errno == EINVAL);
- errno = 0;
result2 = canonicalize_filename_mode (NULL, CAN_EXISTING);
ASSERT (result2 == NULL);
ASSERT (errno == EINVAL);