summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2010-04-19 16:11:13 +0200
committerantirez <antirez@gmail.com>2010-04-19 16:11:13 +0200
commit7ccd2d0a5fe75293990ee249f7539eb7c9279104 (patch)
tree805a36c3677ab0cff970501017f4489b806ddfc8
parentf1a930bbb785637a21f82a0fde08aa71ad19c8c3 (diff)
downloadredis-7ccd2d0a5fe75293990ee249f7539eb7c9279104.tar.gz
running the test using tcl8.5 directly instead of tclsh that too often it's a symlink to 8.4
-rw-r--r--Makefile2
-rw-r--r--redis.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index aea43f1da..13b6bf450 100644
--- a/Makefile
+++ b/Makefile
@@ -81,7 +81,7 @@ staticsymbols:
tclsh utils/build-static-symbols.tcl > staticsymbols.h
test:
- tclsh test-redis.tcl -p $(PORT) -h $(HOST)
+ tclsh8.5 test-redis.tcl -p $(PORT) -h $(HOST)
bench:
./redis-benchmark
diff --git a/redis.c b/redis.c
index 38aad0a81..09de76665 100644
--- a/redis.c
+++ b/redis.c
@@ -9934,7 +9934,7 @@ int linuxOvercommitMemoryValue(void) {
void linuxOvercommitMemoryWarning(void) {
if (linuxOvercommitMemoryValue() == 0) {
- redisLog(REDIS_WARNING,"WARNING overcommit_memory is set to 0! Background save may fail under low condition memory. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.");
+ redisLog(REDIS_WARNING,"WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.");
}
}
#endif /* __linux__ */