Skip to content

Commit

Permalink
increase timeout to 3
Browse files Browse the repository at this point in the history
  • Loading branch information
ttytm committed Oct 9, 2023
1 parent b95aa1e commit c80a6dd
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion examples/password/tests/correct.expect
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/expect

set timeout 1
set timeout 3
set v_root [exec sh -c "git rev-parse --show-toplevel"]

spawn $v_root/v run $v_root/examples/password/password.v
Expand Down
2 changes: 1 addition & 1 deletion examples/password/tests/incorrect.expect
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/expect

set timeout 1
set timeout 3
set v_root [exec sh -c "git rev-parse --show-toplevel"]

spawn $v_root/v run $v_root/examples/password/password.v
Expand Down
2 changes: 1 addition & 1 deletion examples/password/tests/output_from_expect_arg.expect
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/expect

set timeout 1
set timeout 3
set v_root [exec sh -c "git rev-parse --show-toplevel"]
# Send expected output as arg to re-use the script for testing incorrect values.
set expect_ [lindex $argv 0]
Expand Down
2 changes: 1 addition & 1 deletion examples/readline/tests/readline.expect
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/expect

set timeout 1
set timeout 3
set v_root [exec sh -c "git rev-parse --show-toplevel"]

spawn $v_root/v run $v_root/examples/readline/readline.v
Expand Down
3 changes: 1 addition & 2 deletions examples/readline/tests/readline_from_expect_arg.expect
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/usr/bin/expect

set timeout 1

set timeout 3
set v_root [exec sh -c "git rev-parse --show-toplevel"]
# Use input arguments for send and expect.
set send_ [lindex $argv 0]
Expand Down

0 comments on commit c80a6dd

Please sign in to comment.