summaryrefslogtreecommitdiff
path: root/test/script/shell.et
diff options
context:
space:
mode:
Diffstat (limited to 'test/script/shell.et')
-rw-r--r--test/script/shell.et17
1 files changed, 17 insertions, 0 deletions
diff --git a/test/script/shell.et b/test/script/shell.et
index 3384353..4dca4a2 100644
--- a/test/script/shell.et
+++ b/test/script/shell.et
@@ -180,3 +180,20 @@ test ShellLogic:
expect /run-test-result NegateNothing failed/
expect /run-done 1 0 0 1/
flush
+
+
+test ShellVariableExpansion:
+ spawn as p
+ with p:
+ send "load ${scripts.path}/expansion.et"
+ local:
+ expect /(load-.*)/ capture done
+ guard (done == "load-done")
+
+ send "run Test"
+ expect /child-stdout sh A some string B 2 4.5 C/
+ expect /child-stdout sh D a b c d e f E/
+ expect /child-stdout sh F 1 2 3 4 5 G/
+ expect /run-test-result Test done/
+ expect /run-done 1 1 0 0/
+ flush