Searched defs:check_restricted (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/lib/libshell/common/tests/
H A Drestricted.sh41 function check_restricted function
54 check_restricted /bin/echo || err_exit '/bin/echo not resticted'
55 check_restricted ./echo || err_exit './echo not resticted'
56 check_restricted 'SHELL=ksh' || err_exit 'SHELL asignment not resticted'
57 check_restricted 'PATH=/bin' || err_exit 'PATH asignment not resticted'
58 check_restricted 'FPATH=/bin' || err_exit 'FPATH asignment not resticted'
59 check_restricted 'ENV=/bin' || err_exit 'ENV asignment not resticted'
60 check_restricted 'print > file' || err_exit '> file not restricted'
62 check_restricted 'print <> empty' || err_exit '<> file not restricted'
65 ! check_restricted scrip
[all...]

Completed in 57 milliseconds