redict/tests/unit
antirez f43c794b0b Scripting: handle trailing comments.
This fix, provided by Paul Kulchenko (@pkulchenko), allows the Lua
scripting engine to evaluate statements with a trailing comment like the
following one:

    EVAL "print() --comment" 0

Lua can't parse the above if the string does not end with a newline, so
now a final newline is always added automatically. This does not change
the SHA1 of scripts since the SHA1 is computed on the body we pass to
EVAL, without the other code we add to register the function.

Close #2951.
2016-01-08 15:44:21 +01:00
..
type Test HINCRBYFLOAT rounding only in x86_64 and when valgrind is not in use. 2015-11-28 09:28:37 +01:00
aofrw.tcl Add quicklist implementation 2015-01-02 11:16:08 -05:00
auth.tcl Remove trailing spaces from tests 2014-09-29 06:49:08 -04:00
bitops.tcl Remove trailing spaces from tests 2014-09-29 06:49:08 -04:00
dump.tcl MIGRATE: test more corner cases. 2015-12-11 14:27:08 +01:00
expire.tcl Test: regression test for issue #1026. 2013-03-28 11:46:14 +01:00
geo.tcl Regression test for GEORADIUS COUNT arity check. 2015-10-06 09:27:29 +02:00
hyperloglog.tcl Test: improve PFCOUNT with multiple keys testing. 2015-11-03 19:03:17 +01:00
introspection.tcl Remove trailing spaces from tests 2014-09-29 06:49:08 -04:00
keyspace.tcl Test: MOVE expire test improved. 2015-09-14 12:35:55 +02:00
latency-monitor.tcl LATENCY command / monitor basic tests. 2014-07-10 16:23:54 +02:00
lazyfree.tcl Test: basic lazyfree unit test. 2015-10-09 09:47:17 +02:00
limits.tcl More robust maxclients test. 2012-04-18 11:34:18 +02:00
maxmemory.tcl Remove trailing spaces from tests 2014-09-29 06:49:08 -04:00
memefficiency.tcl Faster memory efficiency test. 2015-02-10 14:47:45 +01:00
multi.tcl Test: test replication of MULTI/EXEC. 2013-03-27 11:44:50 +01:00
obuf-limits.tcl Test: obuf-limits test false positive removed. 2013-03-25 11:56:34 +01:00
other.tcl Test: MULTI/EXEC tests moved into multi.tcl. 2012-11-22 10:32:12 +01:00
printver.tcl Print version info before running the test 2011-05-20 11:44:54 +02:00
protocol.tcl Return proper error on requests with an unbalanced number of quotes. 2013-12-08 12:58:12 +02:00
pubsub.tcl pubsub: Return integers for NUMSUB, not strings 2014-08-08 11:19:37 +02:00
quit.tcl Add tests for OK on QUIT 2010-10-15 12:54:53 +02:00
scan.tcl Regression test for issue #2175. 2014-12-03 10:38:56 +01:00
scripting.tcl Scripting: handle trailing comments. 2016-01-08 15:44:21 +01:00
slowlog.tcl Slowlog: don't log EXEC but just the executed commands. 2013-01-19 12:53:21 +01:00
sort.tcl Config: Add quicklist, remove old list options 2015-01-02 11:16:10 -05:00