From bd978a2ac43104972ab0b5c7ddee7ebfa541d8ee Mon Sep 17 00:00:00 2001 From: Marc Vef Date: Wed, 20 Jul 2022 18:10:53 +0200 Subject: [PATCH] Bugfix: syscall_coverage.cpp attribute error which caused a compilation error --- CHANGELOG.md | 1 + tests/integration/harness/gkfs.io/syscall_coverage.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 13c27f68d..7bb7e305c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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)). diff --git a/tests/integration/harness/gkfs.io/syscall_coverage.cpp b/tests/integration/harness/gkfs.io/syscall_coverage.cpp index 257311f14..4d5092d34 100644 --- a/tests/integration/harness/gkfs.io/syscall_coverage.cpp +++ b/tests/integration/harness/gkfs.io/syscall_coverage.cpp @@ -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, -- GitLab