mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-15 04:32:24 +00:00
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
.
This commit is contained in:
parent
d6ddd89053
commit
df47731d7d
1 changed files with 1 additions and 1 deletions
|
@ -988,7 +988,7 @@ EOF
|
||||||
# Builtins should handle unrecognized options correctly
|
# Builtins should handle unrecognized options correctly
|
||||||
while IFS= read -r bltin <&3
|
while IFS= read -r bltin <&3
|
||||||
do case $bltin in
|
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 ;;
|
continue ;;
|
||||||
/*/*) expect="Usage: ${bltin##*/} "
|
/*/*) expect="Usage: ${bltin##*/} "
|
||||||
actual=$({ PATH=${bltin%/*}; "${bltin##*/}" --this-option-does-not-exist; } 2>&1) ;;
|
actual=$({ PATH=${bltin%/*}; "${bltin##*/}" --this-option-does-not-exist; } 2>&1) ;;
|
||||||
|
|
Loading…
Reference in a new issue