Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
908be1db
Commit
908be1db
authored
Oct 08, 2014
by
antirez
Browse files
Cluster test: helpers/onlydots.tcl: detect EOF and exit.
parent
5b47783d
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/cluster/tests/helpers/onlydots.tcl
View file @
908be1db
...
...
@@ -7,7 +7,9 @@ fconfigure stdin -buffering none
while 1
{
set c
[
read stdin 1
]
if
{
$c
eq
{
.
}}
{
if
{
$c
eq
{}}
{
exit 0
;
# EOF
}
elseif
{
$c
eq
{
.
}}
{
puts -nonewline .
flush stdout
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment