ad6a0c816a3003fa2aa9a3210738d4f619a89dbc
[platform/upstream/bash.git] / tests / misc / test-minus-e.2
1 touch .file
2 set -e
3 while set +e ; test -r .file ; do
4         echo -n "stop loop? [yes to quit] "
5         read reply
6         if [ "$reply" = yes ] ; then
7                 rm .file non-dash-file
8         fi
9         set -e
10 done
11 rm -f .file
12
13         
14