SHA256
1
0
forked from pool/findutils
findutils/disable-null-ptr-test.patch

20 lines
636 B
Diff
Raw Normal View History

---
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);