run tests/ls/removed-directory on x86_64 only for now

This commit is contained in:
Kamil Dudka 2020-03-05 17:51:56 +01:00
parent eadc061798
commit b7eb17e7ee
2 changed files with 16 additions and 3 deletions

View File

@ -10,8 +10,9 @@ Subject: [PATCH] ls: fix compilation failure on aarch64
| SYS_getdents64
../src/ls.c:3026:24: note: each undeclared identifier is reported only once for each function it appears in
---
src/ls.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
src/ls.c | 2 +-
tests/ls/removed-directory.sh | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/ls.c b/src/ls.c
index 24b9832..64ecf40 100644
@ -26,6 +27,19 @@ index 24b9832..64ecf40 100644
else if (! found_any_entries)
{
/* 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

View File

@ -13,7 +13,6 @@ Source106: coreutils-colorls.csh
# do not make coreutils-single depend on /usr/bin/coreutils
%global __requires_exclude ^%{_bindir}/coreutils$
# ls: fix compilation failure on aarch64 - https://debbugs.gnu.org/39929
Patch1: coreutils-8.32-ls-aarch64.patch