[v2,4/4] elf: Remove now pointless empty ld.so.conf files in single tests

Message ID 20250208160937.3955501-4-dilfridge@gentoo.org (mailing list archive)
State Superseded
Delegated to: Adhemerval Zanella Netto
Headers
Series [v2,1/4] Makeconfig: Add libgcc directory to rtld-prefix search path |

Checks

Context Check Description
redhat-pt-bot/TryBot-apply_patch success Patch applied to master at the time it was sent
linaro-tcwg-bot/tcwg_glibc_build--master-aarch64 success Build passed
linaro-tcwg-bot/tcwg_glibc_check--master-aarch64 success Test passed
linaro-tcwg-bot/tcwg_glibc_build--master-arm success Build passed
redhat-pt-bot/TryBot-32bit success Build for i686
linaro-tcwg-bot/tcwg_glibc_check--master-arm success Test passed

Commit Message

Andreas K. Huettel Feb. 8, 2025, 4:09 p.m. UTC
  Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
---
 elf/tst-glibc-hwcaps-2-cache.root/etc/ld.so.conf   | 2 --
 elf/tst-glibc-hwcaps-cache.root/etc/ld.so.conf     | 2 --
 elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf | 2 --
 3 files changed, 6 deletions(-)
 delete mode 100644 elf/tst-glibc-hwcaps-2-cache.root/etc/ld.so.conf
 delete mode 100644 elf/tst-glibc-hwcaps-cache.root/etc/ld.so.conf
 delete mode 100644 elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf
  

Comments

Adhemerval Zanella Netto Feb. 25, 2025, 6:46 p.m. UTC | #1
On 08/02/25 13:09, Andreas K. Hüttel wrote:
> Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

LGTM, thanks.

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>


> ---
>  elf/tst-glibc-hwcaps-2-cache.root/etc/ld.so.conf   | 2 --
>  elf/tst-glibc-hwcaps-cache.root/etc/ld.so.conf     | 2 --
>  elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf | 2 --
>  3 files changed, 6 deletions(-)
>  delete mode 100644 elf/tst-glibc-hwcaps-2-cache.root/etc/ld.so.conf
>  delete mode 100644 elf/tst-glibc-hwcaps-cache.root/etc/ld.so.conf
>  delete mode 100644 elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf
> 
> diff --git a/elf/tst-glibc-hwcaps-2-cache.root/etc/ld.so.conf b/elf/tst-glibc-hwcaps-2-cache.root/etc/ld.so.conf
> deleted file mode 100644
> index e1e74dbda2..0000000000
> --- a/elf/tst-glibc-hwcaps-2-cache.root/etc/ld.so.conf
> +++ /dev/null
> @@ -1,2 +0,0 @@
> -# This file was created to suppress a warning from ldconfig:
> -# /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory
> diff --git a/elf/tst-glibc-hwcaps-cache.root/etc/ld.so.conf b/elf/tst-glibc-hwcaps-cache.root/etc/ld.so.conf
> deleted file mode 100644
> index e1e74dbda2..0000000000
> --- a/elf/tst-glibc-hwcaps-cache.root/etc/ld.so.conf
> +++ /dev/null
> @@ -1,2 +0,0 @@
> -# This file was created to suppress a warning from ldconfig:
> -# /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory
> diff --git a/elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf b/elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf
> deleted file mode 100644
> index e1e74dbda2..0000000000
> --- a/elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf
> +++ /dev/null
> @@ -1,2 +0,0 @@
> -# This file was created to suppress a warning from ldconfig:
> -# /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory
  

Patch

diff --git a/elf/tst-glibc-hwcaps-2-cache.root/etc/ld.so.conf b/elf/tst-glibc-hwcaps-2-cache.root/etc/ld.so.conf
deleted file mode 100644
index e1e74dbda2..0000000000
--- a/elf/tst-glibc-hwcaps-2-cache.root/etc/ld.so.conf
+++ /dev/null
@@ -1,2 +0,0 @@ 
-# This file was created to suppress a warning from ldconfig:
-# /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory
diff --git a/elf/tst-glibc-hwcaps-cache.root/etc/ld.so.conf b/elf/tst-glibc-hwcaps-cache.root/etc/ld.so.conf
deleted file mode 100644
index e1e74dbda2..0000000000
--- a/elf/tst-glibc-hwcaps-cache.root/etc/ld.so.conf
+++ /dev/null
@@ -1,2 +0,0 @@ 
-# This file was created to suppress a warning from ldconfig:
-# /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory
diff --git a/elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf b/elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf
deleted file mode 100644
index e1e74dbda2..0000000000
--- a/elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf
+++ /dev/null
@@ -1,2 +0,0 @@ 
-# This file was created to suppress a warning from ldconfig:
-# /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory