Lines Matching refs:script
63 print 'echo hello' > script
64 chmod +x ./script
65 ! check_restricted script || err_exit 'script without builtins should run in restricted mode'
66 check_restricted ./script || err_exit 'script with / in name should not run in restricted mode'
67 print '/bin/echo hello' > script
68 ! check_restricted script || err_exit 'script with pathnames should run in restricted mode'
69 print 'echo hello> file' > script
70 ! check_restricted script || err_exit 'script with output redirection should run in restricted mode'
71 print 'PATH=/bin' > script
72 ! check_restricted script || err_exit 'script with PATH assignment should run in restricted mode'
73 cat > script <<!
77 ! check_restricted 'script;:' || err_exit 'script with #! pathname should run in restricted mode'
78 ! check_restricted 'script' || err_exit 'script with #! pathname should run in restricted mode even if last command in script'