Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
918abd72
Unverified
Commit
918abd72
authored
Sep 09, 2020
by
Yossi Gottlieb
Committed by
GitHub
Sep 09, 2020
Browse files
Tests: clean up stale .cli files. (#7768)
parent
b120366d
Changes
1
Show whitespace changes
Inline
Side-by-side
tests/integration/redis-cli.tcl
View file @
918abd72
...
@@ -182,6 +182,7 @@ start_server {tags {"cli"}} {
...
@@ -182,6 +182,7 @@ start_server {tags {"cli"}} {
set tmpfile
[
write_tmpfile
"from file"
]
set tmpfile
[
write_tmpfile
"from file"
]
assert_equal
"OK"
[
run_cli_with_input_file $tmpfile set key
]
assert_equal
"OK"
[
run_cli_with_input_file $tmpfile set key
]
assert_equal
"from file"
[
r get key
]
assert_equal
"from file"
[
r get key
]
file delete $tmpfile
}
}
test_nontty_cli
"Status reply"
{
test_nontty_cli
"Status reply"
{
...
@@ -215,6 +216,7 @@ start_server {tags {"cli"}} {
...
@@ -215,6 +216,7 @@ start_server {tags {"cli"}} {
set tmpfile
[
write_tmpfile
"from file"
]
set tmpfile
[
write_tmpfile
"from file"
]
assert_equal
"OK"
[
run_cli_with_input_file $tmpfile set key
]
assert_equal
"OK"
[
run_cli_with_input_file $tmpfile set key
]
assert_equal
"from file"
[
r get key
]
assert_equal
"from file"
[
r get key
]
file delete $tmpfile
}
}
proc test_redis_cli_rdb_dump
{}
{
proc test_redis_cli_rdb_dump
{}
{
...
...
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