1 # test restricted shell mode -- these should all be errors
3 # things not tested for:
4 # adding builtins dynamically with enable -f
5 # importing function definitions from environment
10 PATH=$PATH:/usr/local/bin
12 /bin/sh -c 'echo /bin/sh executed'
17 echo abc > /tmp/restricted
18 if [ -f /tmp/restricted ]; then
21 echo abc >> /tmp/restricted
22 if [ -f /tmp/restricted ]; then