[PR #1782] [MERGED] Fixed a bug in test_(zero_)cache_file_stat test function #2167

Closed
opened 2026-03-04 02:04:06 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/s3fs-fuse/s3fs-fuse/pull/1782
Author: @ggtakec
Created: 10/24/2021
Status: Merged
Merged: 10/24/2021
Merged by: @gaul

Base: masterHead: fix_test_cache_bug


📝 Commits (1)

  • c5b2a1a Fixed a bug in test_(zero_)cache_file_stat test function

📊 Changes

1 file changed (+4 additions, -4 deletions)

View changed files

📝 test/integration-test-main.sh (+4 -4)

📄 Description

Relevant Issue (if applicable)

n/a

Details

The test_cache_file_stat and test_zero_cache_file_stat functions use the testrun-<random> directory name.
However, it tried to detect the directory name with ls etc., but that was a mistake.
Since the directory name is passed as the first argument of the test function, those function was changed to use it.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/s3fs-fuse/s3fs-fuse/pull/1782 **Author:** [@ggtakec](https://github.com/ggtakec) **Created:** 10/24/2021 **Status:** ✅ Merged **Merged:** 10/24/2021 **Merged by:** [@gaul](https://github.com/gaul) **Base:** `master` ← **Head:** `fix_test_cache_bug` --- ### 📝 Commits (1) - [`c5b2a1a`](https://github.com/s3fs-fuse/s3fs-fuse/commit/c5b2a1affb942baff2817a3ea325f980d6364672) Fixed a bug in test_(zero_)cache_file_stat test function ### 📊 Changes **1 file changed** (+4 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `test/integration-test-main.sh` (+4 -4) </details> ### 📄 Description ### Relevant Issue (if applicable) n/a ### Details The `test_cache_file_stat` and `test_zero_cache_file_stat` functions use the `testrun-<random>` directory name. However, it tried to detect the directory name with ls etc., but that was a mistake. Since the directory name is passed as the first argument of the test function, those function was changed to use it. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-04 02:04:06 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/s3fs-fuse#2167
No description provided.