Tests: clean up stale .cli files. (#7768)

This commit is contained in:
Yossi Gottlieb 2020-09-09 12:30:43 +03:00 committed by GitHub
parent b120366d48
commit 918abd7276
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {} {