Fix for touch.
authorBrian Aker <brian@tangent.org>
Mon, 19 Nov 2012 04:37:16 +0000 (23:37 -0500)
committerBrian Aker <brian@tangent.org>
Mon, 19 Nov 2012 04:37:16 +0000 (23:37 -0500)
libtest/unittest.cc

index f8432476ab10d2f7ea557c1a67fd1abe4b6d2f12..0ec3e2ce404cdebb67fee4ed40751cadc70dec01 100644 (file)
@@ -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));