TEST: Add one more smget test.
#!/usr/bin/perl
use strict;
-use Test::More tests => 52;
+use Test::More tests => 53;
use FindBin qw($Bin);
use lib "$Bin/lib";
use MemcachedTest;
@@ -79,6 +79,13 @@ MISSED_KEYS 0
END";
mem_cmd_val_is($sock, $cmd, $val, $rst);
+# smget: descending order (50..40, offset=0, value=100)
+$cmd = "bop smget 9 2 50..40 0 100"; $val = "key0 key1";
+$rst = "VALUE 0
+MISSED_KEYS 0
+END";
+mem_cmd_val_is($sock, $cmd, $val, $rst);
+
# smget: descending order (9..5)
$cmd = "bop smget 9 2 9..5 100"; $val = "key0 key1"; $rst = "OUT_OF_RANGE";
print $sock "$cmd\r\n$val\r\n"; is(scalar <$sock>, "$rst\r\n", "$cmd $val: $rst");
