Tests: clean up stale .cli files. (#7768)
(cherry picked from commit 918abd7276afcb994f2d3f8a86a0708993420e37)
This commit is contained in:
parent
84ba2ec82b
commit
3c8b394511
@ -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"}} {
|
|||||||
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 {} {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user