redict/tests
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
..
assets Test: enable latency monitor in the default config. 2014-07-10 15:04:34 +02:00
cluster Cluster: verify slaves consistency after resharding. 2015-12-18 11:33:49 +01:00
helpers Regression test for issue 417 (memory leak when replicating to DB with id >= 10) 2012-03-30 10:26:07 +02:00
integration Regression test for issue #2813. 2015-10-15 11:23:15 +02:00
sentinel Sentinel: CKQUORUM tests 2015-05-19 12:26:09 +02:00
support Test: support for stack logging for OSX malloc/leaks. 2015-10-01 13:02:25 +02:00
tmp minor fixes to the new test suite, html doc updated 2010-05-14 18:48:33 +02:00
unit Scripting: handle trailing comments. 2016-01-08 15:44:21 +01:00
instances.tcl Cluster test: do leaks detection with OSX leaks utility. 2016-01-02 13:14:23 +01:00
test_helper.tcl Test: basic lazyfree unit test. 2015-10-09 09:47:17 +02:00