summaryrefslogtreecommitdiff
path: root/tests/commands-with-quotes.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/commands-with-quotes.sh')
-rw-r--r--tests/commands-with-quotes.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/commands-with-quotes.sh b/tests/commands-with-quotes.sh
new file mode 100644
index 0000000..9269c57
--- /dev/null
+++ b/tests/commands-with-quotes.sh
@@ -0,0 +1,14 @@
+# This script contains multiple commands with inconsistent whitespaces,
+# combinations of simple quotes and double quotes.
+cat /etc/hosts
+ ls -l "/mnt"
+ pwd
+
+# With comments
+
+cat /fstab
+
+mkdir /tmp/fo"o"
+touch -- '/tmp/foo'"/file with whitespaces in name"
+
+ls /tmp/foo