Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions util/build-gnu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down
1 change: 1 addition & 0 deletions util/why-error.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ This file documents why some tests are failing:
* gnu/tests/ls/ls-misc.pl
* gnu/tests/ls/stat-free-symlinks.sh
* gnu/tests/misc/close-stdout.sh
* gnu/tests/misc/coreutils.sh
* gnu/tests/misc/nohup.sh
* gnu/tests/numfmt/numfmt.pl - https://github.com/uutils/coreutils/issues/7219 / https://github.com/uutils/coreutils/issues/7221
* gnu/tests/misc/stdbuf.sh - https://github.com/uutils/coreutils/issues/7072
Expand Down
3 changes: 0 additions & 3 deletions util/why-skip.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Loading