Loading .gitlab-ci.yml +12 −0 Original line number Diff line number Diff line Loading @@ -109,3 +109,15 @@ test path resolution: artifacts: paths: - "${LOG_PATH}" test rename: stage: test script: - mkdir -p "${LOG_PATH}" - ${BUILD_PATH}/bin/adafs_daemon --mount /tmp/mountdir --root /tmp/adafs_root & - sleep 4 - LD_PRELOAD=${BUILD_PATH}/lib/libadafs_preload_client.so ${TESTS_BUILD_PATH}/gkfs_test_rename artifacts: paths: - "${LOG_PATH}" test/rename_test.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -39,7 +39,7 @@ int main(int argc, char* argv[]) { /* Create target */ fd = open(source_int.c_str(), O_WRONLY | O_CREAT, 0770); fd = open(source_int.c_str(), O_WRONLY | O_CREAT, S_IRWXU | S_IRWXG); if(fd < 0){ std::cerr << "ERROR: opening target for write" << strerror(errno) << std::endl; return -1; Loading Loading
.gitlab-ci.yml +12 −0 Original line number Diff line number Diff line Loading @@ -109,3 +109,15 @@ test path resolution: artifacts: paths: - "${LOG_PATH}" test rename: stage: test script: - mkdir -p "${LOG_PATH}" - ${BUILD_PATH}/bin/adafs_daemon --mount /tmp/mountdir --root /tmp/adafs_root & - sleep 4 - LD_PRELOAD=${BUILD_PATH}/lib/libadafs_preload_client.so ${TESTS_BUILD_PATH}/gkfs_test_rename artifacts: paths: - "${LOG_PATH}"
test/rename_test.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -39,7 +39,7 @@ int main(int argc, char* argv[]) { /* Create target */ fd = open(source_int.c_str(), O_WRONLY | O_CREAT, 0770); fd = open(source_int.c_str(), O_WRONLY | O_CREAT, S_IRWXU | S_IRWXG); if(fd < 0){ std::cerr << "ERROR: opening target for write" << strerror(errno) << std::endl; return -1; Loading