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