Commit 7085d665 authored by Ramon Nou's avatar Ramon Nou
Browse files

Merge branch 'marc/234-tests-compilation-fails-for-syscall_coverage-cpp' into 'master'

Resolve "Tests compilation fails for syscall_coverage.cpp"

Closes #234

See merge request !153
parents 0425c4cd bd978a2a
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -19,6 +19,7 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
- Additional `#ifdef` to remove unused code ([!141](https://storage.bsc.es/gitlab/hpc/gekkofs/-/merge_requests/141))
### Removed
### Fixed
- Fix a compilation error for testing ([!234](https://storage.bsc.es/gitlab/hpc/gekkofs/-/merge_requests/234)).
- Using `unlink` now fails if it is a directory unless the `AT_REMOVEDIR` flag is used (POSIX compliance) ([!139](https://storage.bsc.es/gitlab/hpc/gekkofs/-/merge_requests/139)).
- fchdir generate a SIGSEV in debug mode (due to log) ([!141](https://storage.bsc.es/gitlab/hpc/gekkofs/-/merge_requests/141))
- Fix fstatat to be able to understand `AT_EMPTY_PATH` flag used in coreutils (`cat` ...) ([!149](https://storage.bsc.es/gitlab/hpc/gekkofs/-/merge_requests/149)).
+1 −1
Original line number Diff line number Diff line
@@ -367,7 +367,7 @@ syscall_coverage_exec(const syscall_coverage_options& opts) {
    }

    // renameat external
    auto fdtmp = ::open("/tmp/test_rename", O_CREAT | O_WRONLY);
    auto fdtmp = ::open("/tmp/test_rename", O_CREAT | O_WRONLY, 0644);
    ::close(fdtmp);

    rv = ::renameat(AT_FDCWD, "/tmp/test_rename", AT_FDCWD,