Skip to content

Conversation

@achrafmag
Copy link
Contributor

Handling filesystem specific case sensitivity, by creating temporary files and checking if they point towards same file using their inodes. This fixes #992

Handling filesystem specific case sensitivity, by creating temporary files and checking if they point towards same file using their inodes. This fixes oracle#992

Signed-off-by: Achraf Maghous <achraf.maghous@oracle.com>
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Feb 16, 2025
@behnazh-w behnazh-w changed the title chore: fixing unit test case sensitivity test: fix unit test case sensitivity Feb 16, 2025
Using tmp_path made the use of st_ino obselete, now we create paths using touch method

Signed-off-by: Achraf Maghous <achraf.maghous@oracle.com>
Fixed checking case sensitivity using tmp_path, without needing to clean up created temporary files by using the existing tmp_path function argument already provided in test_get_local_artifact_paths_succeeded_pypi

Signed-off-by: Achraf Maghous <achraf.maghous@oracle.com>
…ivity

Using tempfile builtin package in order to check case sensitivity by observing the behavior of  when creating lower and upper directory

Signed-off-by: Achraf Maghous <achraf.maghous@oracle.com>
Copy link
Contributor

@tromai tromai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks

@behnazh-w behnazh-w merged commit 4fcd7e8 into oracle:staging Feb 19, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants