redict/tests
Valentino Geron 9204a9b2c2 Fix LPOS command when RANK is greater than matches
When calling to LPOS command when RANK is higher than matches,
the return value is non valid response. For example:
```
LPUSH l a
:1
LPOS l b RANK 5 COUNT 10
*-4
```
It may break client-side parser.

Now, we count how many replies were replied in the array.
```
LPUSH l a
:1
LPOS l b RANK 5 COUNT 10
*0
```
2020-08-23 16:03:30 +03:00
..
assets Fix test "server is up" detection after logging changes. 2016-12-19 16:49:58 +01:00
cluster Fix tests/cluster/cluster.tcl about wrong usage of lrange. (#6702) 2020-08-04 18:00:58 +03:00
helpers revert an accidental test code change done as part of the tls project 2019-12-01 16:10:09 +02:00
integration Tests: fix redis-cli with remote hosts. (#7693) 2020-08-23 10:17:43 +03:00
modules Module API: fix missing RM_CLIENTINFO_FLAG_SSL. (#7666) 2020-08-17 17:46:54 +03:00
sentinel TLS: Configuration options. 2019-10-07 21:07:27 +03:00
support Tests: fix redis-cli with remote hosts. (#7693) 2020-08-23 10:17:43 +03:00
tmp minor fixes to the new test suite, html doc updated 2010-05-14 18:48:33 +02:00
unit Fix LPOS command when RANK is greater than matches 2020-08-23 16:03:30 +03:00
instances.tcl Fix flock cluster config may cause failure to restart after kill -9 (#7674) 2020-08-20 08:59:02 +03:00
test_helper.tcl Add oom-score-adj configuration option to control Linux OOM killer. (#1690) 2020-08-12 17:58:56 +03:00