summaryrefslogtreecommitdiff
path: root/unittests
diff options
context:
space:
mode:
Diffstat (limited to 'unittests')
-rw-r--r--unittests/core.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/unittests/core.cpp b/unittests/core.cpp
index 9b38dfe..aad6b65 100644
--- a/unittests/core.cpp
+++ b/unittests/core.cpp
@@ -28,17 +28,17 @@ BOOST_AUTO_TEST_CASE( access )
BOOST_CHECK_EQUAL(EACCES, v->access(env, "/", W_OK));
BOOST_CHECK_EQUAL(0, v->access(env, "/", X_OK));
- BOOST_CHECK_EQUAL(0, v->access(env, "/metadata", R_OK));
- BOOST_CHECK_EQUAL(EACCES, v->access(env, "/metadata", W_OK));
- BOOST_CHECK_EQUAL(0, v->access(env, "/metadata", X_OK));
+ BOOST_CHECK_EQUAL(0, v->access(env, "/src", R_OK));
+ BOOST_CHECK_EQUAL(EACCES, v->access(env, "/src", W_OK));
+ BOOST_CHECK_EQUAL(0, v->access(env, "/src", X_OK));
- BOOST_CHECK_EQUAL(0, v->access(env, "/metadata/timestamp.chk", R_OK));
- BOOST_CHECK_EQUAL(EACCES, v->access(env, "/metadata/timestamp.chk", W_OK));
- BOOST_CHECK_EQUAL(EACCES, v->access(env, "/metadata/timestamp.chk", X_OK));
+ BOOST_CHECK_EQUAL(0, v->access(env, "/src/Jamfile.jam", R_OK));
+ BOOST_CHECK_EQUAL(EACCES, v->access(env, "/src/Jamfile.jam", W_OK));
+ BOOST_CHECK_EQUAL(EACCES, v->access(env, "/src/Jamfile.jam", X_OK));
- BOOST_CHECK_EQUAL(0, v->access(env, "/app-antivirus/skyldav/files/skyldav.initd", R_OK));
- BOOST_CHECK_EQUAL(EACCES, v->access(env, "/app-antivirus/skyldav/files/skyldav.initd", W_OK));
- BOOST_CHECK_EQUAL(0, v->access(env, "/app-antivirus/skyldav/files/skyldav.initd", X_OK));
+ BOOST_CHECK_EQUAL(0, v->access(env, "/unittests/fixtures/executable", R_OK));
+ BOOST_CHECK_EQUAL(EACCES, v->access(env, "/unittests/fixtures/executable", W_OK));
+ BOOST_CHECK_EQUAL(0, v->access(env, "/unittests/fixtures/executable", X_OK));
BOOST_CHECK_EQUAL(ENOENT, v->access(env, "/missing", R_OK));
BOOST_CHECK_EQUAL(EACCES, v->access(env, "/missing", W_OK));