summaryrefslogtreecommitdiff
path: root/tests/redirections.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/redirections.sh')
-rw-r--r--tests/redirections.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/redirections.sh b/tests/redirections.sh
new file mode 100644
index 0000000..4b5dcae
--- /dev/null
+++ b/tests/redirections.sh
@@ -0,0 +1,9 @@
+# This script contains standard input/output redirections.
+# It is expected to print "Hello World$"
+
+ls -l > /tmp/output
+ls -l >/tmp/output2
+
+echo Hello World > /tmp/file
+
+< file cat -e