summaryrefslogtreecommitdiffstats
path: root/t/chainlint/nested-subshell.test
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--t/chainlint/nested-subshell.test13
1 files changed, 13 insertions, 0 deletions
diff --git a/t/chainlint/nested-subshell.test b/t/chainlint/nested-subshell.test
new file mode 100644
index 0000000..440ee99
--- /dev/null
+++ b/t/chainlint/nested-subshell.test
@@ -0,0 +1,13 @@
+(
+ cd foo &&
+ (
+ echo a &&
+ echo b
+ ) >file &&
+
+ cd foo &&
+ (
+ echo a
+ echo b
+ ) >file
+)