Various fixes for windows
This commit is contained in:
@@ -77,6 +77,9 @@ main:
|
||||
condition: <| $(conditional_exec) == 1 |>
|
||||
console_name: consname
|
||||
steps:
|
||||
{% if os == "Windows" %}
|
||||
- read_until: {expected: "echo 0", timeout: 0}
|
||||
{% endif %}
|
||||
- read_until: {expected: "0", timeout: 0}
|
||||
|
||||
- console:
|
||||
|
||||
@@ -67,13 +67,16 @@ main:
|
||||
name: Console read_until immediate
|
||||
console_name: consname
|
||||
steps:
|
||||
- read_until: {expected: "0", timeout: 0}
|
||||
{% if os == "Windows" %}
|
||||
- read_until: {expected: "echo 0", timeout: 1}
|
||||
{% endif %}
|
||||
- read_until: {expected: "0", timeout: 1}
|
||||
|
||||
- console:
|
||||
name: Console read_until immediate (2)
|
||||
console_name: consname
|
||||
steps:
|
||||
- read_until: {expected: "$(terminal_prompt)", timeout: 0}
|
||||
- read_until: {expected: "$(terminal_prompt)", timeout: 1}
|
||||
|
||||
- console:
|
||||
name: Console closure
|
||||
|
||||
@@ -13,8 +13,13 @@ main:
|
||||
- open:
|
||||
protocol: terminal
|
||||
terminal_path: $(test_directory)
|
||||
{% if os == "Windows" %}
|
||||
- writeln: mkdir "$(plot_log_path)" && echo Fini
|
||||
- read_until: {expected: echo Fini, timeout: 1}
|
||||
{% else %}
|
||||
- writeln: mkdir -p "$(plot_log_path)" && echo Fini
|
||||
- read_until: {expected: Fini, timeout: 5}
|
||||
{% endif %}
|
||||
- read_until: {expected: Fini, timeout: 1}
|
||||
|
||||
- console:
|
||||
name: Console closure
|
||||
|
||||
Reference in New Issue
Block a user