lp:~piotr-sikora/libmemcached/fix-tests-on-openbsd
Created by
Piotr Sikora
on
2011-07-14
and last modified on
2011-07-14
- Get this branch:
- bzr branch lp:~piotr-sikora/libmemcached/fix-tests-on-openbsd
Only
Piotr Sikora
can upload to this branch. If you are
Piotr Sikora
please log in for upload directions.
Branch merges
Propose for merging
- Libmemcached-developers: Pending requested 2011-07-14
-
Diff: 10 lines (+1/-0)1 file modifiedlibtest/server.c (+1/-0)
Branch information
Recent revisions
- 948. By Piotr Sikora on 2011-07-14
-
server_startup: whitelist ECONNREFUSED in fopen's errno switch.
It seems that because errno doesn't get cleared, the problematic switch
relies on errno value propagated not only from the failed fopen(), but
also from libmemcached_util_ping( ) call ~100 lines before. Running tests on OpenBSD resulted in such error:
Could not open pid file /tmp/memcached.
pidXXXXXX -> fopen(Connection refused) which obviously doesn't make any sense.
This change fixes that and allows tests to run.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:~tangent-org/libmemcached/trunk