]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
tests: avoid false failure where sleep is a shell builtin
authorPádraig Brady <P@draigBrady.com>
Sun, 27 Aug 2023 15:22:37 +0000 (16:22 +0100)
committerPádraig Brady <P@draigBrady.com>
Sun, 27 Aug 2023 16:18:01 +0000 (17:18 +0100)
* tests/misc/usage_vs_getopt.sh: Handle sleep as a shell builtin,
which was seen on Alpine Linux 3.18.

tests/misc/usage_vs_getopt.sh

index 3ffb7b0b1e967336a403fd73211dbf57a5c29c49..f4f12136a65a3ea200b519733dfb1fe3bb8389de 100755 (executable)
@@ -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