Subject: | t/commands.t fails under memcached gt 1.3.2 |
Stumbled upon this one testing some code that uses your module on a host
running memcached 1.3.3.
Seems that memcached has changed the behavior of incr() on non-numeric
values (see
http://github.com/memcached/memcached/commit/674166c002fe2e32f0385d12351091d738150a12).
I'll see if I can spin a patch for you tomorrow.
Here is the failure output:
t/commands.t ...... 1/66
# Failed test 'Incr'
# at t/commands.t line 32.
Argument "v3" isn't numeric in numeric eq (==) at t/commands.t line 33.
# Failed test 'Fetch'
# at t/commands.t line 33.
# Failed test 'Incr'
# at t/commands.t line 34.
Argument "v3" isn't numeric in numeric eq (==) at t/commands.t line 38.
# Failed test 'Fetch'
# at t/commands.t line 38.
# Failed test 'Decr'
# at t/commands.t line 39.
Argument "v3" isn't numeric in numeric eq (==) at t/commands.t line 40.
# Failed test 'Fetch'
# at t/commands.t line 40.
# Failed test 'Decr'
# at t/commands.t line 41.
Argument "v3" isn't numeric in numeric eq (==) at t/commands.t line 42.
# Failed test 'Fetch'
# at t/commands.t line 42.
Use of uninitialized value in numeric eq (==) at t/commands.t line 43.
# Failed test 'Decr below zero returns true value'
# at t/commands.t line 44.
Argument "v3" isn't numeric in numeric eq (==) at t/commands.t line 45.
# Failed test at t/commands.t line 136.
# Failed test at t/commands.t line 137.
# got: '0'
# expected: '1'
# Failed test at t/commands.t line 138.
# got: undef
# expected: '2'
# Looks like you failed 12 tests of 66.
t/commands.t ...... Dubious, test returned 12 (wstat 3072, 0xc00)