Imported from ../bash-1.14.7.tar.gz.
This commit is contained in:
commit
726f63884d
402 changed files with 150297 additions and 0 deletions
14
tests/misc/test-minus-e.2
Normal file
14
tests/misc/test-minus-e.2
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
touch .file
|
||||
set -e
|
||||
while set +e ; test -r .file ; do
|
||||
echo -n "stop loop? [yes to quit] "
|
||||
read reply
|
||||
if [ "$reply" = yes ] ; then
|
||||
rm .file non-dash-file
|
||||
fi
|
||||
set -e
|
||||
done
|
||||
rm -f .file
|
||||
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue