diff options
| author | Roman Smrž <roman.smrz@seznam.cz> | 2026-09-05 09:57:31 +0200 |
|---|---|---|
| committer | Roman Smrž <roman.smrz@seznam.cz> | 2026-09-06 20:23:58 +0200 |
| commit | 9f66b6432fd8025f115289e6b2a9db1579385634 (patch) | |
| tree | 6b1006f063887faf391283d0dc620110076f9fe3 /test | |
| parent | a8f93733a9d2df0859d585a11bdd39762f3c37a8 (diff) | |
Fix parsing of shell argument starting with variable expansion
Diffstat (limited to 'test')
| -rw-r--r-- | test/asset/shell/expansion.et | 1 | ||||
| -rw-r--r-- | test/script/shell.et | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/test/asset/shell/expansion.et b/test/asset/shell/expansion.et index 3f318ab..b947eb6 100644 --- a/test/asset/shell/expansion.et +++ b/test/asset/shell/expansion.et @@ -17,3 +17,4 @@ test Test: $cmd H I $cmdlist J $cmdlist K $ilist L $int M $special N + echo ${str}O P$str diff --git a/test/script/shell.et b/test/script/shell.et index 36eaff7..90ff29a 100644 --- a/test/script/shell.et +++ b/test/script/shell.et @@ -197,6 +197,7 @@ test ShellVariableExpansion: expect /child-stdout sh H I/ expect /child-stdout sh w x y z J/ expect /child-stdout sh w x y z K 1 2 3 4 5 L 2 M < > \| \& \; N/ + expect /child-stdout sh some stringO Psome string/ expect /run-test-result Test done/ expect /run-done 1 1 0 0/ flush |