summaryrefslogtreecommitdiff
path: root/tests/rsh.right
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rsh.right')
-rw-r--r--tests/rsh.right13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/rsh.right b/tests/rsh.right
new file mode 100644
index 0000000..e673b94
--- /dev/null
+++ b/tests/rsh.right
@@ -0,0 +1,13 @@
+./rsh.tests: line 9: cd: restricted
+./rsh.tests: line 10: PATH: readonly variable
+./rsh.tests: line 11: SHELL: readonly variable
+./rsh.tests: line 12: /bin/sh: restricted: cannot specify `/' in command names
+./rsh.tests: line 14: .: ./source.sub3: restricted
+./rsh.tests: line 17: /tmp/restricted: restricted: cannot redirect output
+./rsh.tests: line 21: /tmp/restricted: restricted: cannot redirect output
+./rsh.tests: line 26: command: -p: restricted
+./rsh.tests: line 28: set: +r: invalid option
+set: usage: set [--abefhkmnptuvxBCHP] [-o option] [arg ...]
+./rsh.tests: line 29: set: restricted: invalid option name
+./rsh.tests: line 31: exec: restricted
+./rsh.tests: after exec