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
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
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
43f49b15e8
Reduce use of awk in tests ( #2662 )
2025-04-20 10:03:07 +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
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
ec8caf64b8
Reverted the macos CI process(using macos-fuse-t)
2023-11-17 21:08:34 +09:00
ffff26e165
Add stat helper for user and group ( #2320 )
2023-09-26 00:04:24 +09:00
54293a66b3
Simplify the determination of the --cached option of the stat
2023-09-25 08:08:58 +09:00
64642e1d1b
Do not cache stat attributes ( #2319 )
...
This is a workaround for CI failures.
2023-09-24 18:32:07 +09:00
7e20278489
Address some Shellcheck SC2012 warnings ( #2306 )
2023-09-10 12:50:18 +09:00
3f64c72c24
Explicitly grep for ps args ( #2301 )
2023-09-03 22:03:45 +09:00
3a6af38582
Tighten up Content-Type checking ( #2258 )
2023-08-15 21:23:59 +09:00
e14a2eb94b
Add AWS CLI config for use_sse=custom ( #2230 )
2023-07-25 23:31:20 +09:00
1910856c6c
Remove wait and check loop from mk_test_file ( #2175 )
...
This appears to be some kind of eventual consistency check. This
should have no effect given S3Proxy and recent AWS strong consistency.
Also it is likely ineffective given the other test object creation
operations.
2023-06-07 23:24:31 +09:00
4b3e715291
Always return nanoseconds from get_time helpers ( #2174 )
...
This makes Linux and macOS more consistent.
2023-05-30 18:52:55 +09:00
11adf11957
Changed the time(a/c/m) acquisition of stat to nanosecond string
2022-07-25 07:21:37 +09:00
3a0799ec18
Re-re-re-fix propagating the return code ( #1984 )
...
This shell incantation is necessary to have errexit take effect for
test bodies. Previous only the _last_ command's exit code was
propagated to the test runner, masking real failures. Reverts
ea3c21f270 .
2022-07-17 02:13:06 +09:00
a30beded1c
Removed unnecessary debug options for aws command
2022-04-22 22:36:06 +09:00
df7bbb28d5
Replace awscli version 1 to 2
2022-04-19 23:11:25 +09:00
0842c5718f
Use more new file names for every test ( #1902 )
...
This makes the tests more robust. Also fix filename to end in .txt.
2022-02-23 22:59:21 +09:00
232ff28cc7
Re-re-fix propagating the return code ( #1903 )
...
Previously the integration tests were exiting after the first failed
test instead of running all of them an reporting their statuses.
Follows on to dbf93c0152 .
2022-02-23 14:27:29 +09:00
dbf93c0152
Propagate return code properly ( #1884 )
...
Previously this did not propagate test failures. A bad rebase
introduced this logic in 495d51113c .
2022-02-06 22:45:20 +09:00
46014397d8
Added test by a shell script static analysis tool(ShellCheck)
2022-01-22 22:23:08 +09:00
6300859c80
Prefer = over == for older shell compatibility ( #1857 )
2022-01-14 12:40:55 +09:00
577e2bc987
Generate S3Proxy SSL certificate during tests ( #1845 )
...
Also provide CA bundle to AWS CLI to work around CI failures instead
of ignoring errors. Fixes #1812 .
2022-01-09 15:13:36 +09:00
adb58af17b
Annotate local variables ( #1844 )
...
This prevents collisions with other globals. Fixes #1843 .
2022-01-09 13:03:36 +09:00
e734763002
Remove createbucket option ( #1841 )
...
AWS CLI can do this. Fixes #1840 .
2022-01-05 01:59:31 +09:00
07e2e3f72a
Remove sleep 1 from test_update_directory_time ( #1803 )
...
Reduces per-flag test run-time by 5 seconds.
2021-11-04 08:16:40 +09:00
495d51113c
Remove unneeded sleeps from tests ( #1784 )
...
Also use a unique file name for every test. This ensures that tests
like test_external_directory_creation and test_external_modification
do not collide.
2021-10-26 23:19:14 +09:00
0abeec9cae
Simpily errexit modifications
2021-10-26 21:47:36 +09:00
ea3c21f270
Reduce errexit modifications ( #1785 )
...
This is less error prone but requires some magic && ||.
2021-10-25 23:53:45 +09:00
1571379304
Set LC_ALL=en_US.UTF-8 in tests ( #1691 )
...
This allows tests to pass using the S3Proxy filesystem provider.
References #1665 .
2021-06-20 19:27:25 +09:00
c0bcb41175
Increase test robustness by adding LC_ALL=C ( #1660 )
...
Use C locale, because some tests check for English expressions
Fixes #1658
2021-05-20 21:19:50 +09:00
9d8f1b00f7
Fixed make_random_string test code being slow on macos
2021-05-08 13:55:39 +09:00
81e267d421
Fixed the same bug in chmod/chown/utimens and added tests
2021-02-20 23:30:50 +09:00
5debf523b0
Allow changing temporary directory used for tests
...
Set temporary directory to $TMPDIR if set or use default /var/tmp
2021-02-19 13:59:23 +09:00
1c8aadafd1
Fix typo in an error message of the test suite
2021-02-19 13:59:23 +09:00
f2c5e38724
Allow integration tests to use larger files ( #1548 )
...
Previously these failed due to dd only copying 32 MB from /dev/urandom
and exhausting the limited space in /tmp. References #1543 .
Co-authored-by: Takeshi Nakatani <ggtakec@gmail.com >
2021-02-07 12:50:02 +09:00
b04bca37a5
Add configuration for Chaos HTTP Proxy ( #1508 )
...
This can find errors in retry logic. Chaos HTTP Proxy does not
support SSL bouncestorage/chaos-http-proxy#1 so users must set
s3proxy.endpoint and run via:
CHAOS_HTTP_PROXY=1 S3_URL=http://127.0.0.1:8080 make check -C test
It can also be helpful to increase retries and reduce sleep times.
References #1504 .
2021-01-04 23:32:04 +09:00
4d0daddad4
Fixed about Github Actions failure(centos8 and macos) ( #1498 )
2020-12-23 19:34:04 +09:00
059cc57ba6
Added atime and Corrected atime/mtime/ctime operations
2020-10-04 13:54:01 +09:00
8fb70c5e4a
Fix expandtab settings for tests
...
This matches the main source.
2020-09-15 22:11:14 +09:00
b5ffd419d8
Source file division and set 4 spaces and cleanup
2020-08-26 17:43:50 +09:00
0c1bc0f803
Add portability wrapper for stat(1)
...
Fixes #1344 .
2020-08-02 23:14:58 +09:00