From 9920bc924ff6e6acd14b99458815a41e64aa429c Mon Sep 17 00:00:00 2001 From: antirez Date: Tue, 14 Jun 2011 18:15:16 +0200 Subject: [PATCH] command table entry for EVALSHA fixed --- src/redis.c | 2 +- tests/test_helper.tcl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/redis.c b/src/redis.c index f5ee3b172..c63d0e777 100644 --- a/src/redis.c +++ b/src/redis.c @@ -190,7 +190,7 @@ struct redisCommand readonlyCommandTable[] = { {"unwatch",unwatchCommand,1,0,NULL,0,0,0}, {"object",objectCommand,-2,0,NULL,0,0,0}, {"eval",evalCommand,-3,REDIS_CMD_DENYOOM,zunionInterBlockClientOnSwappedKeys,0,0,0}, - {"evalsha",evalCommand,-3,REDIS_CMD_DENYOOM,zunionInterBlockClientOnSwappedKeys,0,0,0} + {"evalsha",evalShaCommand,-3,REDIS_CMD_DENYOOM,zunionInterBlockClientOnSwappedKeys,0,0,0} }; /*============================ Utility functions ============================ */ diff --git a/tests/test_helper.tcl b/tests/test_helper.tcl index 6259a5821..a4b20ba4b 100644 --- a/tests/test_helper.tcl +++ b/tests/test_helper.tcl @@ -109,6 +109,7 @@ proc cleanup {} { proc execute_everything {} { execute_tests "unit/printver" + execute_tests "unit/scripting" execute_tests "unit/auth" execute_tests "unit/protocol" execute_tests "unit/basic" @@ -125,7 +126,6 @@ proc execute_everything {} { execute_tests "integration/aof" # execute_tests "integration/redis-cli" execute_tests "unit/pubsub" - execute_tests "unit/scripting" # run tests with VM enabled set ::global_overrides {vm-enabled yes} -- GitLab