rsh.tests
来自「android-w.song.android.widget」· TESTS 代码 · 共 34 行
TESTS
34 行
# test restricted shell mode -- these should all be errors## things not tested for:# adding builtins dynamically with enable -f# importing function definitions from environmentset -rcd /PATH=$PATH:/usr/local/binSHELL=/bin/sh/bin/sh -c 'echo /bin/sh executed'. ./source.sub3rm -f /tmp/restrictedecho abc > /tmp/restrictedif [ -f /tmp/restricted ]; then echo oops 1 -- outputfiecho abc >> /tmp/restrictedif [ -f /tmp/restricted ]; then echo oops 2 -- appendficommand -p dateset +rset +o restrictedexec /bin/dateecho $0: after exec
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?