From 7ccd2d0a5fe75293990ee249f7539eb7c9279104 Mon Sep 17 00:00:00 2001 From: antirez Date: Mon, 19 Apr 2010 16:11:13 +0200 Subject: [PATCH] running the test using tcl8.5 directly instead of tclsh that too often it's a symlink to 8.4 --- Makefile | 2 +- redis.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index aea43f1d..13b6bf45 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 38aad0a8..09de7666 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__ */ -- 2.45.2