From: oech3 <79379754+oech3@users.noreply.github.com> Date: Thu, 12 Feb 2026 17:07:30 +0000 (+0000) Subject: tests: coreutils: remove redundant validity check X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f592adc4404a54ff28e1cdd4ed52117b407f191;p=thirdparty%2Fcoreutils.git tests: coreutils: remove redundant validity check * tests/misc/coreutils.sh: Remove the check for non-empty coreutils.h, as the existing `print_ver_ coreutils` is sufficient to determine support for single binary mode. https://github.com/coreutils/coreutils/pull/189 --- diff --git a/tests/misc/coreutils.sh b/tests/misc/coreutils.sh index 5cf5fce698..955b3681a9 100755 --- a/tests/misc/coreutils.sh +++ b/tests/misc/coreutils.sh @@ -20,8 +20,7 @@ . "${srcdir=.}/tests/init.sh"; path_prepend_ ./src print_ver_ coreutils -test -s "$abs_top_builddir/src/coreutils.h" \ - || skip_ 'multicall binary is disabled' +cp -s "$(command -v coreutils)" blah || skip_ 'multicall binary is disabled' # Yes outputs all its params so is good to verify argv manipulations echo 'y' > exp && @@ -34,7 +33,6 @@ echo "coreutils: unknown program 'blah'" > exp || framework_failure_ returns_ 1 coreutils --coreutils-prog='blah' --help 2>err || fail=1 compare exp err || fail=1 -ln -s "$(command -v coreutils)" blah || framework_failure_ returns_ 1 ./blah 2>err || fail=1 compare exp err || fail=1 returns_ 1 ./blah --version 2>err || fail=1