summaryrefslogtreecommitdiff
path: root/t/chainlint/chained-subshell.expect
diff options
context:
space:
mode:
Diffstat (limited to 't/chainlint/chained-subshell.expect')
-rw-r--r--t/chainlint/chained-subshell.expect10
1 files changed, 10 insertions, 0 deletions
diff --git a/t/chainlint/chained-subshell.expect b/t/chainlint/chained-subshell.expect
new file mode 100644
index 0000000000..93fb1a6578
--- /dev/null
+++ b/t/chainlint/chained-subshell.expect
@@ -0,0 +1,10 @@
+2 mkdir sub && (
+3 cd sub &&
+4 foo the bar ?!LINT: missing '&&'?!
+5 nuff said
+6 ) &&
+7
+8 cut "-d " -f actual | (read s1 s2 s3 &&
+9 test -f $s1 ?!LINT: missing '&&'?!
+10 test $(cat $s2) = tree2path1 &&
+11 test $(cat $s3) = tree3path1)