~piotr-sikora/libmemcached/fix-tests-on-openbsd

  • Committer: Piotr Sikora
  • Date: 2011-07-14 11:55:06 UTC
  • Revision ID: piotr.sikora@frickle.com-20110714115506-92n3z12bggotwpmq
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.
Filename Latest Rev Last Changed Committer Comment Size
..
clients 317.1.7 16 years ago brian@gir-2.local Huge refactoring of directory structure. Diff
config 1 16 years ago brian@gir.local First import. All basic methods work now. Diff
docs 1 16 years ago brian@gir.local First import. All basic methods work now. Diff
example 576.2.1 14 years ago Trond Norbye Prototype of a protocol parsing library for the bi Diff
libhashkit 644 14 years ago Brian Aker Adding back libhashkit. Diff
libmemcached 317.1.7 16 years ago brian@gir-2.local Huge refactoring of directory structure. Diff
libtest 923 13 years ago Brian Aker Move testing framework out to its own library. Diff
m4 529.1.6 14 years ago Monty Taylor Moved m4 stuff to m4 dir to match how we're doing Diff
poll 882.1.3 13 years ago Trond Norbye Initial support for Windows In order to support W Diff
support 34 16 years ago brian@gir.tangent.org Adding in spec file, this has not been tested... c Diff
tests 1 16 years ago brian@gir.local First import. All basic methods work now. Diff
win32 882.1.3 13 years ago Trond Norbye Initial support for Windows In order to support W Diff
.bzrignore 947 12 years ago Brian Aker Update build bits. 1.5 KB Diff Download File
.hgignore 526 14 years ago brian@localhost.localdomain Added new memcached_dump() command. 1.9 KB Diff Download File
.quickly 922.1.2 13 years ago Monty Taylor Updated pandora-build files to version 0.175 111 bytes Diff Download File
AUTHORS 685 14 years ago Brian Aker Fix Trond's email address. 468 bytes Diff Download File
ChangeLog 946 12 years ago Brian Aker Merge in trunk. Updates to manual/update to latest 18 KB Diff Download File
configure.ac 946 12 years ago Brian Aker Merge in trunk. Updates to manual/update to latest 4.9 KB Diff Download File
COPYING 923 13 years ago Brian Aker Move testing framework out to its own library. 1.5 KB Diff Download File
Makefile.am 947 12 years ago Brian Aker Update build bits. 3.2 KB Diff Download File
NEWS 29 16 years ago Brian Aker Updating for release 14 bytes Diff Download File
README 929.1.144 12 years ago Brian Aker Document/standardize the return types from the fet 1.4 KB Diff Download File
README.FIRST 799.1.1 14 years ago Ingy dot Net Corrected autogen.sh to autorun.sh 916 bytes Diff Download File
README.win32 882.1.7 13 years ago Trond Norbye Added a readme file on how to build on windows 802 bytes Diff Download File
THANKS 511 14 years ago brian@localhost.localdomain Updates for 0.29 release 630 bytes Diff Download File
TODO 523 14 years ago brian@localhost.localdomain Updating TODO 416 bytes Diff Download File