From 13e13107e13ae064c925ecfc516c3b7bcc680aa6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?P=C3=A1draig=20Brady?=
Date: Sun, 27 Aug 2023 16:22:37 +0100 Subject: [PATCH] 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. --- tests/misc/usage_vs_getopt.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.2