mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
build-gnu.sh: Enable misc/coreutils.sh (#9572)
* build-gnu.sh: Enable misc/coreutils.sh * why-error.md: Remove misc/coreutils.sh Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com> --------- Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
This commit is contained in:
co-authored by
Daniel Hofstetter
parent
45c974f992
commit
39a8c87fd0
@@ -135,6 +135,7 @@ else
|
||||
./bootstrap --skip-po
|
||||
# Use CFLAGS for best build time since we discard GNU coreutils
|
||||
CFLAGS="${CFLAGS} -pipe -O0 -s" ./configure --quiet --disable-gcc-warnings --disable-nls --disable-dependency-tracking --disable-bold-man-page-references \
|
||||
--enable-single-binary=symlinks \
|
||||
"$([ "${SELINUX_ENABLED}" = 1 ] && echo --with-selinux || echo --without-selinux)"
|
||||
#Add timeout to to protect against hangs
|
||||
"${SED}" -i 's|^"\$@|'"${SYSTEM_TIMEOUT}"' 600 "\$@|' build-aux/test-driver
|
||||
@@ -169,6 +170,11 @@ 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"
|
||||
|
||||
# We use coreutils yes
|
||||
"${SED}" -i "s|--coreutils-prog=||g" tests/misc/coreutils.sh
|
||||
# Different message
|
||||
"${SED}" -i "s|coreutils: unknown program 'blah'|blah: function/utility not found|" tests/misc/coreutils.sh
|
||||
|
||||
# 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
|
||||
|
||||
|
||||
@@ -44,9 +44,6 @@
|
||||
= The Swedish locale with blank thousands separator is unavailable. =
|
||||
* tests/misc/sort-h-thousands-sep.sh
|
||||
|
||||
= multicall binary is disabled =
|
||||
* tests/misc/coreutils.sh
|
||||
|
||||
= not running on GNU/Hurd =
|
||||
* tests/id/gnu-zero-uids.sh
|
||||
|
||||
|
||||
Reference in New Issue
Block a user