Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

Ci expect fix #90

Merged
merged 3 commits into from Jan 9, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 2 additions & 8 deletions ci/test-neo-cli.expect
Expand Up @@ -2,7 +2,7 @@
#
# This script uses expect to test neo-cli
#
set timeout 2
set timeout 10

# Start neo-cli
spawn dotnet neo-cli.dll --rpc
Expand Down Expand Up @@ -30,25 +30,19 @@ expect {
timeout { exit 1 }
}

# Wallet creation requires a higher timeout
set timeout 10

expect {
"address:" { }
"error" { exit 2 }
timeout { exit 1 }
}

# Set timeout back to default
set timeout 2

#
# Test 'list address'
#
send "list address\n"

expect {
-re "A.*" { }
"neo> " { }
"error" { exit 2 }
timeout { exit 1 }
}
Expand Down