build-gnu.sh: Remove hfs dep from hardlink-case.sh (#9482)

Co-authored-by: Sylvestre Ledru <sylvestre@debian.org>
This commit is contained in:
oech3
2025-11-27 20:38:07 +01:00
committed by GitHub
co-authored by Sylvestre Ledru
parent b8da17d925
commit f6d581fc48
2 changed files with 4 additions and 3 deletions
+4
View File
@@ -5,6 +5,7 @@
# spell-checker:ignore (paths) abmon deref discrim eacces getlimits getopt ginstall inacc infloop inotify reflink ; (misc) INT_OFLOW OFLOW
# spell-checker:ignore baddecode submodules xstrtol distros ; (vars/env) SRCDIR vdir rcexp xpart dired OSTYPE ; (utils) gnproc greadlink gsed multihardlink texinfo CARGOFLAGS
# spell-checker:ignore openat TOCTOU CFLAGS
# spell-checker:ignore hfsplus casefold chattr
set -e
@@ -167,6 +168,9 @@ grep -rl 'path_prepend_' tests/* | xargs -r "${SED}" -i 's| path_prepend_ ./src|
# path_prepend_ sets $abs_path_dir_: set it manually instead.
grep -rl '\$abs_path_dir_' tests/*/*.sh | xargs -r "${SED}" -i "s|\$abs_path_dir_|${UU_BUILD_DIR//\//\\/}|g"
# Remove hfs dependency (should be merged to upstream)
"${SED}" -i -e "s|hfsplus|ext4 -O casefold|" -e "s|cd mnt|rm -d mnt/lost+found;chattr +F mnt;cd mnt|" tests/mv/hardlink-case.sh
# Use the system coreutils where the test fails due to error in a util that is not the one being tested
"${SED}" -i "s|grep '^#define HAVE_CAP 1' \$CONFIG_HEADER > /dev/null|true|" tests/ls/capability.sh
-3
View File
@@ -13,9 +13,6 @@
= LD_PRELOAD was ineffective? =
* tests/cp/nfs-removal-race.sh
= failed to create hfs file system =
* tests/mv/hardlink-case.sh
= temporarily disabled =
* tests/mkdir/writable-under-readonly.sh