diff --git a/src/redis.c b/src/redis.c index f5ee3b172d6b0df0d14f6e439b1d0c8ce511d5c5..c63d0e777b5b047110f91760d8d6985378d3b6cd 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 6259a582165408ce3041d23ab95a232f35f2f0e7..a4b20ba4b2675b7ba6894713d629f926d7595a70 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}