From 6d76fbd80a1d633c7b5583730e0a0247f365ae10 Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Sat, 21 Mar 2020 10:26:31 +0100 Subject: Add more tests using redirections, quoting and whitespaces Signed-off-by: Olivier Gayot --- tests/redirections.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 tests/redirections.sh (limited to 'tests/redirections.sh') 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 -- cgit v1.2.3