From: Pádraig Brady
Date: Sun, 27 Aug 2023 15:22:37 +0000 (+0100) Subject: tests: avoid false failure where sleep is a shell builtin X-Git-Tag: v9.4~9 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=13e13107e13ae064c925ecfc516c3b7bcc680aa6;p=thirdparty%2Fcoreutils.git tests: avoid false failure where sleep is a shell builtin * tests/misc/usage_vs_getopt.sh: Handle sleep as a shell builtin, which was seen on Alpine Linux 3.18. --- diff --git a/tests/misc/usage_vs_getopt.sh b/tests/misc/usage_vs_getopt.sh index 3ffb7b0b1e..f4f12136a6 100755 --- a/tests/misc/usage_vs_getopt.sh +++ b/tests/misc/usage_vs_getopt.sh @@ -87,7 +87,7 @@ for prg in $built_programs; do '[' | expr | stty ) continue;; # Wrap some utilities known by the shell by env. - echo | false | kill | printf | pwd | test | true ) + echo | false | kill | printf | pwd | sleep | test | true ) prg="env $prg";; esac checkprg $prg