Imported from ../bash-2.02.tar.gz.
This commit is contained in:
parent
e8ce775db8
commit
cce855bc5b
323 changed files with 33916 additions and 12321 deletions
9
tests/exec5.sub
Normal file
9
tests/exec5.sub
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
# try exec'ing a command that cannot be found in $PATH
|
||||
shopt -s execfail
|
||||
|
||||
exec bash-notthere
|
||||
# make sure we're still around
|
||||
echo $?
|
||||
|
||||
# now we need to go away, but this should echo 'this is ohio-state'
|
||||
exec -a ohio-state ${THIS_SH} -c 'echo this is $0'
|
||||
Loading…
Add table
Add a link
Reference in a new issue