Skip to content
Browse files

running the test using tcl8.5 directly instead of tclsh that too ofte…

…n it's a symlink to 8.4
  • Loading branch information...
1 parent f1a930b commit 7ccd2d0a5fe75293990ee249f7539eb7c9279104 @antirez committed Apr 19, 2010
Showing with 2 additions and 2 deletions.
  1. +1 −1 Makefile
  2. +1 −1 redis.c
View
2 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
View
2 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__ */

1 comment on commit 7ccd2d0

@kmerenkov

What if I have 8.6 only? :-)

Please sign in to comment.
Something went wrong with that request. Please try again.