summaryrefslogtreecommitdiffstats
path: root/t/chainlint/command-substitution-subsubshell.test
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--t/chainlint/command-substitution-subsubshell.test3
1 files changed, 3 insertions, 0 deletions
diff --git a/t/chainlint/command-substitution-subsubshell.test b/t/chainlint/command-substitution-subsubshell.test
new file mode 100644
index 0000000..321de29
--- /dev/null
+++ b/t/chainlint/command-substitution-subsubshell.test
@@ -0,0 +1,3 @@
+# LINT: subshell nested in subshell nested in command substitution
+OUT=$( ((large_git 1>&3) | :) 3>&1 ) &&
+test_match_signal 13 "$OUT"