run tests/ls/removed-directory on x86_64 only for now
This commit is contained in:
parent
eadc061798
commit
b7eb17e7ee
@ -10,8 +10,9 @@ Subject: [PATCH] ls: fix compilation failure on aarch64
|
|||||||
| SYS_getdents64
|
| SYS_getdents64
|
||||||
../src/ls.c:3026:24: note: each undeclared identifier is reported only once for each function it appears in
|
../src/ls.c:3026:24: note: each undeclared identifier is reported only once for each function it appears in
|
||||||
---
|
---
|
||||||
src/ls.c | 2 +-
|
src/ls.c | 2 +-
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
tests/ls/removed-directory.sh | 2 +-
|
||||||
|
2 files changed, 2 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
diff --git a/src/ls.c b/src/ls.c
|
diff --git a/src/ls.c b/src/ls.c
|
||||||
index 24b9832..64ecf40 100644
|
index 24b9832..64ecf40 100644
|
||||||
@ -26,6 +27,19 @@ index 24b9832..64ecf40 100644
|
|||||||
else if (! found_any_entries)
|
else if (! found_any_entries)
|
||||||
{
|
{
|
||||||
/* If readdir finds no directory entries at all, not even "." or
|
/* If readdir finds no directory entries at all, not even "." or
|
||||||
|
diff --git a/tests/ls/removed-directory.sh b/tests/ls/removed-directory.sh
|
||||||
|
index e8c835d..d3f4bae 100755
|
||||||
|
--- a/tests/ls/removed-directory.sh
|
||||||
|
+++ b/tests/ls/removed-directory.sh
|
||||||
|
@@ -22,7 +22,7 @@
|
||||||
|
print_ver_ ls
|
||||||
|
|
||||||
|
case $host_triplet in
|
||||||
|
- *linux*) ;;
|
||||||
|
+ x86_64-redhat-linux-gnu) ;;
|
||||||
|
*) skip_ 'non linux kernel' ;;
|
||||||
|
esac
|
||||||
|
|
||||||
--
|
--
|
||||||
2.21.1
|
2.21.1
|
||||||
|
|
||||||
|
@ -13,7 +13,6 @@ Source106: coreutils-colorls.csh
|
|||||||
# do not make coreutils-single depend on /usr/bin/coreutils
|
# do not make coreutils-single depend on /usr/bin/coreutils
|
||||||
%global __requires_exclude ^%{_bindir}/coreutils$
|
%global __requires_exclude ^%{_bindir}/coreutils$
|
||||||
|
|
||||||
|
|
||||||
# ls: fix compilation failure on aarch64 - https://debbugs.gnu.org/39929
|
# ls: fix compilation failure on aarch64 - https://debbugs.gnu.org/39929
|
||||||
Patch1: coreutils-8.32-ls-aarch64.patch
|
Patch1: coreutils-8.32-ls-aarch64.patch
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user