summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2011-01-03 17:18:37 +0100
committerantirez <antirez@gmail.com>2011-01-03 17:18:37 +0100
commit5d46e370b7da346801e01066e3ed077069d73d3d (patch)
treebc8ee00c4bccc10e33f7031b756503b846b7c870 /tests
parentd158dc28f6617fd517172e04d3f46ce53d88013e (diff)
downloadredis-5d46e370b7da346801e01066e3ed077069d73d3d.tar.gz
diskstore more fixes
Diffstat (limited to 'tests')
-rw-r--r--tests/assets/default.conf2
-rw-r--r--tests/support/server.tcl3
-rw-r--r--tests/test_helper.tcl2
3 files changed, 5 insertions, 2 deletions
diff --git a/tests/assets/default.conf b/tests/assets/default.conf
index 8113e157c..042332848 100644
--- a/tests/assets/default.conf
+++ b/tests/assets/default.conf
@@ -86,7 +86,7 @@ dbfilename dump.rdb
# Also the Append Only File will be created inside this directory.
#
# Note that you must specify a directory here, not a file name.
-dir ./test/tmp
+dir /tmp
################################# REPLICATION #################################
diff --git a/tests/support/server.tcl b/tests/support/server.tcl
index 4f48d22dc..ad711e6ee 100644
--- a/tests/support/server.tcl
+++ b/tests/support/server.tcl
@@ -177,6 +177,9 @@ proc start_server {options {code undefined}} {
if {$::valgrind} {
exec valgrind --suppressions=src/valgrind.sup src/redis-server $config_file > $stdout 2> $stderr &
} else {
+ if {$::verbose} {
+ puts "Logging on $stdout / $stderr"
+ }
exec src/redis-server $config_file > $stdout 2> $stderr &
}
diff --git a/tests/test_helper.tcl b/tests/test_helper.tcl
index 2b7a89577..8ab2f6e40 100644
--- a/tests/test_helper.tcl
+++ b/tests/test_helper.tcl
@@ -13,7 +13,7 @@ set ::host 127.0.0.1
set ::port 16379
set ::traceleaks 0
set ::valgrind 0
-set ::verbose 0
+set ::verbose 1
set ::denytags {}
set ::allowtags {}
set ::external 0; # If "1" this means, we are running against external instance