From: Brian Aker Date: Mon, 19 Nov 2012 04:37:16 +0000 (-0500) Subject: Fix for touch. X-Git-Tag: 1.0.15~19^2~1 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=1b26fc8f15dfdb529a4a418322e489c990e564b4;p=m6w6%2Flibmemcached Fix for touch. --- diff --git a/libtest/unittest.cc b/libtest/unittest.cc index f8432476..0ec3e2ce 100644 --- a/libtest/unittest.cc +++ b/libtest/unittest.cc @@ -734,6 +734,7 @@ static test_return_t lookup_false_TEST(void *) static test_return_t create_tmpfile_TEST(void *) { + test_skip(0, access("/usr/bin/touch", X_OK )); std::string tmp= create_tmpfile(__func__); test_compare(-1, access(tmp.c_str(), R_OK)); test_compare(-1, access(tmp.c_str(), F_OK));