Imported from ../bash-2.02.tar.gz.

This commit is contained in:
Jari Aalto 1998-04-17 19:52:44 +00:00
commit cce855bc5b
323 changed files with 33916 additions and 12321 deletions

189
tests/shopt.right Normal file
View file

@ -0,0 +1,189 @@
./shopt.tests: shopt: illegal option: -z
shopt: usage: shopt [-pqsu] [-o long-option] optname [optname...]
--
shopt -u cdable_vars
shopt -s cdspell
shopt -u checkhash
shopt -u checkwinsize
shopt -s cmdhist
shopt -u dotglob
shopt -u execfail
shopt -s expand_aliases
shopt -u extglob
shopt -u histreedit
shopt -u histappend
shopt -u histverify
shopt -s hostcomplete
shopt -u huponexit
shopt -s interactive_comments
shopt -u lithist
shopt -u mailwarn
shopt -u nocaseglob
shopt -u nullglob
shopt -s promptvars
shopt -u shift_verbose
shopt -s sourcepath
--
shopt -u huponexit
shopt -u checkwinsize
shopt -s sourcepath
--
shopt -s cdspell
shopt -s cmdhist
shopt -s expand_aliases
shopt -s hostcomplete
shopt -s interactive_comments
shopt -s promptvars
shopt -s sourcepath
--
shopt -u cdable_vars
shopt -u checkhash
shopt -u checkwinsize
shopt -u dotglob
shopt -u execfail
shopt -u extglob
shopt -u histreedit
shopt -u histappend
shopt -u histverify
shopt -u huponexit
shopt -u lithist
shopt -u mailwarn
shopt -u nocaseglob
shopt -u nullglob
shopt -u shift_verbose
--
cdable_vars off
checkhash off
checkwinsize off
dotglob off
execfail off
extglob off
histreedit off
histappend off
histverify off
huponexit off
lithist off
mailwarn off
nocaseglob off
nullglob off
shift_verbose off
--
set +o allexport
set -o braceexpand
set +o errexit
set -o hashall
set -o histexpand
set +o keyword
set -o monitor
set +o noclobber
set +o noexec
set +o noglob
set +o notify
set +o nounset
set +o onecmd
set +o physical
set -o privileged
set +o verbose
set +o xtrace
set -o history
set +o ignoreeof
set +o interactive-comments
set +o posix
set -o emacs
set +o vi
--
allexport off
braceexpand on
errexit off
hashall on
histexpand on
keyword off
monitor on
noclobber off
noexec off
noglob off
notify off
nounset off
onecmd off
physical off
privileged on
verbose off
xtrace off
history on
ignoreeof off
interactive-comments off
posix off
emacs on
vi off
--
set +o allexport
set -o braceexpand
set +o errexit
set -o hashall
set -o histexpand
set +o keyword
set -o monitor
set +o noclobber
set +o noexec
set +o noglob
set +o notify
set +o nounset
set +o onecmd
set +o physical
set -o privileged
set +o verbose
set +o xtrace
set -o history
set +o ignoreeof
set +o interactive-comments
set +o posix
set -o emacs
set +o vi
--
set -o history
set +o verbose
--
set -o braceexpand
set -o hashall
set -o histexpand
set -o monitor
set -o privileged
set -o history
set -o emacs
--
set +o allexport
set +o errexit
set +o keyword
set +o noclobber
set +o noexec
set +o noglob
set +o notify
set +o nounset
set +o onecmd
set +o physical
set +o verbose
set +o xtrace
set +o ignoreeof
set +o interactive-comments
set +o posix
set +o vi
--
allexport off
errexit off
keyword off
noclobber off
noexec off
noglob off
notify off
nounset off
onecmd off
physical off
verbose off
xtrace off
ignoreeof off
interactive-comments off
posix off
vi off
--
./shopt.tests: shopt: xyz1: unknown shell option name
./shopt.tests: shopt: xyz1: unknown option name