Commit Graph

349 Commits

Author SHA1 Message Date
b56f9d349c Temporary test error workaround in Ubuntu 25.10 2025-10-23 02:38:13 +09:00
9da9db069c Change CI test macos from macos-13 to macos-14 2025-10-20 06:23:32 +09:00
11a362939f Temporary handling of atime/ctime in test for Ubuntu25.10 2025-10-16 06:50:04 +09:00
b147c66c1b Fix typos (#2742) 2025-10-14 19:04:34 +09:00
b7b5a108c2 Separate pjdfstest tests by command to make the log units smaller 2025-09-09 05:38:44 +09:00
0bf901eff7 Fixed test_external_modification test for MacOS 2025-09-02 05:20:04 +09:00
709cdfc604 Check integrity of downloaded binaries (#2723)
Usually package managers perform this check but we need to do it
ourselves for custom binaries.
2025-08-30 23:59:22 +09:00
ff2080a39e Centralize C++ version in Makefiles (#2713) 2025-08-30 16:49:51 +09:00
03583f3424 Upgrade to S3Proxy 2.7.0 (#2656)
Release notes:
https://github.com/gaul/s3proxy/releases/tag/s3proxy-2.6.0
https://github.com/gaul/s3proxy/releases/tag/s3proxy-2.7.0
2025-08-30 16:45:02 +09:00
fcaacd5397 Remove ut_test.py (#2722)
pjdfstest supersedes this.
2025-08-30 16:37:46 +09:00
da17cace4f Fixed test_update_time_chown in test (#2720) 2025-08-29 03:11:18 +09:00
87d7a5822e Use curl instead of AWS CLI (#2689)
The latter starts up significantly slower which impedes integration
test times.  curl has some limitations, e.g., no SSE support.
2025-08-28 08:36:07 +09:00
b1b9fb55d9 Use junk_data instead of urandom (#2700)
The latter seems to block on macOS sometimes.
2025-08-21 20:34:30 +09:00
666fea3d26 Remove unneeded x-prefix in comparisons
Found via shellcheck.  Reference:

https://www.shellcheck.net/wiki/SC2268
2025-08-21 06:11:03 +09:00
97659c41f2 Fixed bugs in removing xattrs func and and test for it 2025-06-27 03:16:32 +09:00
b624596685 Simplify temporary file creation via mktemp (#2691)
Previously this used /dev/urandom which does not guarantee uniqueness
and sometimes blocked on macOS.  References #2690.
2025-06-26 19:05:16 +09:00
5bc46ff1ba Removed the RUN_DIR variable which is no longer global 2025-06-09 21:10:42 +09:00
47231fc5fb Disable new S3 checksums for S3Proxy compatibility (#2686)
References aws/aws-cli#9214.
2025-06-09 19:31:46 +09:00
63402bb556 Fixed the random string generation in test script for macos 2025-06-08 22:03:56 +09:00
f2542f22fe Require C++14 (#2596)
This only has some minor additions of std::make_unique, digits
separators, std::string literals, and more flexible constexpr.
References #2469.
2025-05-18 12:34:53 +09:00
3421025074 Use region instead of endpoint for configuration (#2669)
This is more consistent with the AWS docs.  Generally endpoint refers
to an HTTP URL not just the region.  Fixes #2668.
2025-05-18 10:49:35 +09:00
43f49b15e8 Reduce use of awk in tests (#2662) 2025-04-20 10:03:07 +09:00
22ca6ba6ee Updated CI test result for macos about updating xattr 2025-04-03 23:48:48 +09:00
dc92b1b087 Remove unneeded uses of std::map::operator[] (#2642)
These unintentionally mutate the map.  Script suggested by @danmar.
2025-02-09 11:21:44 +09:00
dd4f1395ca Run passing tests from pjdfstest (#1882)
This downloads a tarball by hash instead of using a submodule.
References #1589.
2025-01-19 10:26:40 +09:00
cd41bddd1e Upgrade to S3Proxy 2.5.0 (#2627)
Release notes:

https://github.com/gaul/s3proxy/releases/tag/s3proxy-2.5.0
2025-01-03 15:01:15 +09:00
65e4aef2a1 Prefer C++-style casts over C-style casts (#2599)
The former are easier to identify.  Found via clang-tidy.

Co-authored-by: Takeshi Nakatani <ggtakec@gmail.com>
2024-12-01 10:29:08 +09:00
956e8c5750 Added new class for curl share handle
Added new class for curl share handle.
And, paired the curl handle(S3fsCurl) with the worker thread.
Changed that each thread has its own SSL session cache to prevent data
races.
So OpenSSL suppression for ThreadSanitizer is no longer necessary, so
reverted it.
2024-11-28 03:40:40 +09:00
143284b2f3 Upgrade to S3Proxy 2.4.1 (#2433)
This transitions to the transient-nio2 storage backend which should
address a race condition with getBlob and be easier to work with in
the future.  Release notes:

https://github.com/gaul/s3proxy/releases/tag/s3proxy-2.4.1
https://github.com/gaul/s3proxy/releases/tag/s3proxy-2.4.0
https://github.com/gaul/s3proxy/releases/tag/s3proxy-2.3.0
https://github.com/gaul/s3proxy/releases/tag/s3proxy-2.2.0
https://github.com/gaul/s3proxy/releases/tag/s3proxy-2.1.0
2024-11-24 22:27:24 +09:00
17d0970244 Changed the macOS Github Actions runner image to macos-13
Changed the macos Github Actions runner image to macos-13, and
avoided extended attribute error when copying with macos-fuse-t.
2024-11-07 16:51:53 +09:00
ef6c213471 Bypassed test_extended_attributes test on MacOS 2024-11-03 08:56:48 +09:00
d35b5a8905 Add OpenSSL suppression for ThreadSanitizer (#2559) 2024-10-22 19:52:27 +09:00
9c4fcbd050 Use std::max instead of conditional (#2562)
Found via clang-tidy.
2024-10-22 19:22:39 +09:00
141d74f187 Use auto for iterator variable types (#2554)
This touches a few other long type names.  Applied via clang-tidy
-fix.
2024-10-18 21:57:52 +09:00
473f9df65a FreeBSD compilation fixes
Closes #2517.
2024-10-16 13:46:12 -07:00
1d3ab76cc4 Ensure that test checks data length (#2546)
wc has an optimization that can use metadata when stdin is set to a
file.  Also fix up logging.
2024-10-14 18:31:37 +09:00
743c86e506 Fix issues discovered by Coverity (#2535) 2024-10-08 08:07:13 +09:00
b283ab291a Modified and bypassed test_multipart_mix on MacOS with nocopyapi 2024-09-29 13:58:46 +09:00
c24015ae17 Modified and bypassed some MacOS tests 2024-09-29 09:17:11 +09:00
6faaff10ee Fixed hardlink test for macos 2024-09-27 00:52:07 +09:00
fa807a56fb Fix typos (#2473) 2024-06-23 15:33:46 +09:00
ebae5a302f Prefer std::string::clear where possible (#2467)
This is somewhat more clear and is declared noexcept.
2024-06-10 23:36:49 +09:00
2c532e8b79 Fixed error reports of failure in cppcheck 2.14.0 2024-05-28 07:29:03 +09:00
517574c40c Fixed a bug in fdatasync(fsync) 2024-02-06 14:11:37 +09:00
68bbfee8ea Address clang-tidy modernize-deprecated-headers (#2370) 2023-11-19 10:00:16 +09:00
ec8caf64b8 Reverted the macos CI process(using macos-fuse-t) 2023-11-17 21:08:34 +09:00
3f6e8a8707 Fixed indent in integration-test-main.sh 2023-11-15 23:15:40 +09:00
4845831f93 Convert some const to constexpr (#2342)
This guarantees that the function or value will resolve at compile-time.
2023-11-14 22:15:17 +09:00
b15ed13807 Force disk free space recovery in test(for only macos) 2023-11-10 15:51:22 +09:00
d5dd17644d Add a helper script to compile all targets (#2337)
This is useful to compile different SSL libraries and 32-bit targets.
2023-10-15 11:54:52 +09:00