mirror of https://github.com/redis/redis.git
				
				
				
			running the test using tcl8.5 directly instead of tclsh that too often it's a symlink to 8.4
This commit is contained in:
		
							parent
							
								
									f1a930bbb7
								
							
						
					
					
						commit
						7ccd2d0a5f
					
				
							
								
								
									
										2
									
								
								Makefile
								
								
								
								
							
							
						
						
									
										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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										2
									
								
								redis.c
								
								
								
								
							
							
						
						
									
										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__ */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue