summaryrefslogtreecommitdiffstats
path: root/t/chainlint/nested-subshell.expect
diff options
context:
space:
mode:
Diffstat (limited to 't/chainlint/nested-subshell.expect')
-rw-r--r--t/chainlint/nested-subshell.expect12
1 files changed, 12 insertions, 0 deletions
diff --git a/t/chainlint/nested-subshell.expect b/t/chainlint/nested-subshell.expect
new file mode 100644
index 0000000..02e0a9f
--- /dev/null
+++ b/t/chainlint/nested-subshell.expect
@@ -0,0 +1,12 @@
+(
+ cd foo &&
+ (
+ echo a &&
+ echo b
+ ) >file &&
+ cd foo &&
+ (
+ echo a ?!AMP?!
+ echo b
+ ) >file
+)