From df47731d7dc43b365ce22aa2e0ae9526ba7689d9 Mon Sep 17 00:00:00 2001 From: Johnothan King Date: Wed, 14 Apr 2021 16:10:12 -0700 Subject: [PATCH] tests/builtins.sh: Fix dtksh regression test failures (re: ef4fe41) (#272) The usage options test wasn't properly excluding all dtksh builtins, which was causing the regression tests to fail under dtksh. This commit adds exclusions for the builtins missed in commit ef4fe41. --- src/cmd/ksh93/tests/builtins.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmd/ksh93/tests/builtins.sh b/src/cmd/ksh93/tests/builtins.sh index 56db9effb..ebd3402ae 100755 --- a/src/cmd/ksh93/tests/builtins.sh +++ b/src/cmd/ksh93/tests/builtins.sh @@ -988,7 +988,7 @@ EOF # Builtins should handle unrecognized options correctly while IFS= read -r bltin <&3 do case $bltin in - echo | test | true | false | \[ | : | getconf | */getconf | uname | */uname | Dt* | X* | login | newgrp ) + echo | test | true | false | \[ | : | getconf | */getconf | uname | */uname | catclose | catgets | catopen | Dt* | _Dt* | X* | login | newgrp ) continue ;; /*/*) expect="Usage: ${bltin##*/} " actual=$({ PATH=${bltin%/*}; "${bltin##*/}" --this-option-does-not-exist; } 2>&1) ;;