testing: fix osx
authorMichael Wallner <mike@php.net>
Mon, 28 Sep 2020 15:26:50 +0000 (17:26 +0200)
committerMichael Wallner <mike@php.net>
Mon, 28 Sep 2020 15:26:50 +0000 (17:26 +0200)
commit9f262c9ea92d4869715ca6f534c80075a8310ac1
treef57619ce4bf81f0397de42de9043146f1468c879
parent004d7eb1e658759b4d30932f414ed2de9a134519
testing: fix osx

* move from testing/ to test/; CTest generates a Testing/ directory which creates ambiguities on case insensitive file systems
* check for pipe2(), SOCK_CLOEXEC and SOCK_NONBLOCK
* test for the O_CLOEXEC pipe already being closed by traing to read() it (see pipe(2))
125 files changed:
CMakeLists.txt
test/CMake/Catch.cmake [new file with mode: 0644]
test/CMake/CatchAddTests.cmake [new file with mode: 0644]
test/CMakeLists.txt [new file with mode: 0644]
test/conf.h.in [new file with mode: 0644]
test/fixtures/hashes.hpp [new file with mode: 0644]
test/lib/Cluster.cpp [new file with mode: 0644]
test/lib/Cluster.hpp [new file with mode: 0644]
test/lib/Connection.cpp [new file with mode: 0644]
test/lib/Connection.hpp [new file with mode: 0644]
test/lib/ForkAndExec.cpp [new file with mode: 0644]
test/lib/ForkAndExec.hpp [new file with mode: 0644]
test/lib/MemcachedCluster.cpp [new file with mode: 0644]
test/lib/MemcachedCluster.hpp [new file with mode: 0644]
test/lib/Retry.cpp [new file with mode: 0644]
test/lib/Retry.hpp [new file with mode: 0644]
test/lib/ReturnMatcher.cpp [new file with mode: 0644]
test/lib/ReturnMatcher.hpp [new file with mode: 0644]
test/lib/Server.cpp [new file with mode: 0644]
test/lib/Server.hpp [new file with mode: 0644]
test/lib/Shell.cpp [new file with mode: 0644]
test/lib/Shell.hpp [new file with mode: 0644]
test/lib/catch.hpp [new file with mode: 0644]
test/lib/catch_reporter_teamcity.hpp [new file with mode: 0644]
test/lib/common.cpp [new file with mode: 0644]
test/lib/common.hpp [new file with mode: 0644]
test/lib/random.cpp [new file with mode: 0644]
test/lib/random.hpp [new file with mode: 0644]
test/main.cpp [new file with mode: 0644]
test/tests/bin/memcat.cpp [new file with mode: 0644]
test/tests/bin/memcp.cpp [new file with mode: 0644]
test/tests/bin/memdump.cpp [new file with mode: 0644]
test/tests/bin/memerror.cpp [new file with mode: 0644]
test/tests/bin/memexist.cpp [new file with mode: 0644]
test/tests/bin/memflush.cpp [new file with mode: 0644]
test/tests/hashkit/basic.cpp [new file with mode: 0644]
test/tests/lib.cpp [new file with mode: 0644]
test/tests/memcached/append.cpp [new file with mode: 0644]
test/tests/memcached/basic.cpp [new file with mode: 0644]
test/tests/memcached/callbacks.cpp [new file with mode: 0644]
test/tests/memcached/cas.cpp [new file with mode: 0644]
test/tests/memcached/dump.cpp [new file with mode: 0644]
test/tests/memcached/encoding_key.cpp [new file with mode: 0644]
test/tests/memcached/exist.cpp [new file with mode: 0644]
test/tests/memcached/generate_hash.cpp [new file with mode: 0644]
test/tests/memcached/haldenbrand.cpp [new file with mode: 0644]
test/tests/memcached/inc_dec.cpp [new file with mode: 0644]
test/tests/memcached/ketama.cpp [new file with mode: 0644]
test/tests/memcached/ketama_test_cases.h [new file with mode: 0644]
test/tests/memcached/ketama_test_cases_spy.h [new file with mode: 0644]
test/tests/memcached/noreply.cpp [new file with mode: 0644]
test/tests/memcached/prepend.cpp [new file with mode: 0644]
test/tests/memcached/regression/binary_block_add.cpp [new file with mode: 0644]
test/tests/memcached/regression/lp434484.cpp [new file with mode: 0644]
test/tests/memcached/regression/lp434843.cpp [new file with mode: 0644]
test/tests/memcached/regression/lp442914.cpp [new file with mode: 0644]
test/tests/memcached/regression/lp447342.cpp [new file with mode: 0644]
test/tests/memcached/regression/lp490486.cpp [new file with mode: 0644]
test/tests/memcached/regression/lp996813.cpp [new file with mode: 0644]
test/tests/memcached/sasl.cpp [new file with mode: 0644]
test/tests/memcached/servers.cpp [new file with mode: 0644]
test/tests/memcached/simple.cpp [new file with mode: 0644]
test/tests/memcached/util.cpp [new file with mode: 0644]
testing/CMake/Catch.cmake [deleted file]
testing/CMake/CatchAddTests.cmake [deleted file]
testing/CMakeLists.txt [deleted file]
testing/conf.h.in [deleted file]
testing/fixtures/hashes.hpp [deleted file]
testing/lib/Cluster.cpp [deleted file]
testing/lib/Cluster.hpp [deleted file]
testing/lib/Connection.cpp [deleted file]
testing/lib/Connection.hpp [deleted file]
testing/lib/ForkAndExec.cpp [deleted file]
testing/lib/ForkAndExec.hpp [deleted file]
testing/lib/MemcachedCluster.cpp [deleted file]
testing/lib/MemcachedCluster.hpp [deleted file]
testing/lib/Retry.cpp [deleted file]
testing/lib/Retry.hpp [deleted file]
testing/lib/ReturnMatcher.cpp [deleted file]
testing/lib/ReturnMatcher.hpp [deleted file]
testing/lib/Server.cpp [deleted file]
testing/lib/Server.hpp [deleted file]
testing/lib/Shell.cpp [deleted file]
testing/lib/Shell.hpp [deleted file]
testing/lib/catch.hpp [deleted file]
testing/lib/catch_reporter_teamcity.hpp [deleted file]
testing/lib/common.cpp [deleted file]
testing/lib/common.hpp [deleted file]
testing/lib/random.cpp [deleted file]
testing/lib/random.hpp [deleted file]
testing/main.cpp [deleted file]
testing/tests/bin/memcat.cpp [deleted file]
testing/tests/bin/memcp.cpp [deleted file]
testing/tests/bin/memdump.cpp [deleted file]
testing/tests/bin/memerror.cpp [deleted file]
testing/tests/bin/memexist.cpp [deleted file]
testing/tests/bin/memflush.cpp [deleted file]
testing/tests/hashkit/basic.cpp [deleted file]
testing/tests/lib.cpp [deleted file]
testing/tests/memcached/append.cpp [deleted file]
testing/tests/memcached/basic.cpp [deleted file]
testing/tests/memcached/callbacks.cpp [deleted file]
testing/tests/memcached/cas.cpp [deleted file]
testing/tests/memcached/dump.cpp [deleted file]
testing/tests/memcached/encoding_key.cpp [deleted file]
testing/tests/memcached/exist.cpp [deleted file]
testing/tests/memcached/generate_hash.cpp [deleted file]
testing/tests/memcached/haldenbrand.cpp [deleted file]
testing/tests/memcached/inc_dec.cpp [deleted file]
testing/tests/memcached/ketama.cpp [deleted file]
testing/tests/memcached/ketama_test_cases.h [deleted file]
testing/tests/memcached/ketama_test_cases_spy.h [deleted file]
testing/tests/memcached/noreply.cpp [deleted file]
testing/tests/memcached/prepend.cpp [deleted file]
testing/tests/memcached/regression/binary_block_add.cpp [deleted file]
testing/tests/memcached/regression/lp434484.cpp [deleted file]
testing/tests/memcached/regression/lp434843.cpp [deleted file]
testing/tests/memcached/regression/lp442914.cpp [deleted file]
testing/tests/memcached/regression/lp447342.cpp [deleted file]
testing/tests/memcached/regression/lp490486.cpp [deleted file]
testing/tests/memcached/regression/lp996813.cpp [deleted file]
testing/tests/memcached/sasl.cpp [deleted file]
testing/tests/memcached/servers.cpp [deleted file]
testing/tests/memcached/simple.cpp [deleted file]
testing/tests/memcached/util.cpp [deleted file]