summaryrefslogtreecommitdiffstats
path: root/t/chainlint/chained-subshell.expect
diff options
context:
space:
mode:
Diffstat (limited to '')
-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 0000000..af0369d
--- /dev/null
+++ b/t/chainlint/chained-subshell.expect
@@ -0,0 +1,10 @@
+mkdir sub && (
+ cd sub &&
+ foo the bar ?!AMP?!
+ nuff said
+) &&
+
+cut "-d " -f actual | ( read s1 s2 s3 &&
+test -f $s1 ?!AMP?!
+test $(cat $s2) = tree2path1 &&
+test $(cat $s3) = tree3path1 )