forked from pool/findutils
a502b6e517
- Add disable-null-ptr-test.patch in order to fix boo#1157342. OBS-URL: https://build.opensuse.org/request/show/749944 OBS-URL: https://build.opensuse.org/package/show/Base:System/findutils?expand=0&rev=81
16 lines
555 B
Diff
16 lines
555 B
Diff
diff --git a/gnulib-tests/test-canonicalize.c b/gnulib-tests/test-canonicalize.c
|
|
index 8d1ff86..0f3c5e3 100644
|
|
--- a/gnulib-tests/test-canonicalize.c
|
|
+++ b/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);
|