Skip to content

Conversation

@Chemaclass
Copy link
Member

@Chemaclass Chemaclass commented Jul 27, 2025

📚 Description

When nix run github:NixOS/nixpkgs#bashunit -- -v using bashunit 0.22.3 I get an error for the --init tests due to lack of permission to create directory/files // CC @drupol

Screenshot 2025-07-27 at 12 53 00

🔖 Changes

  • Skip --init option tests for NixOS

✅ To-do list

  • I updated the CHANGELOG.md to reflect the new feature or fix

@Chemaclass Chemaclass self-assigned this Jul 27, 2025
@Chemaclass Chemaclass added the pure testing Pure testing related label Jul 27, 2025
@Chemaclass Chemaclass merged commit b2aa3ab into main Jul 27, 2025
18 checks passed
@Chemaclass Chemaclass deleted the test/skip-init-for-nixos branch July 27, 2025 11:09
@drupol
Copy link
Contributor

drupol commented Jul 27, 2025

Those tests were not an issue on a remote (x86_64-linux) Linux, as you can see here:

image

Link: https://logs.ofborg.org/?key=nixos/nixpkgs.428781&attempt_id=dc72694f-7def-4eaa-8377-bfb82bb039de

On my own local NixOS machine (x86_64-linux), I have exactly the same behaviour.

image

I think this PR should be reverted. I also think the issue was only present on Darwin (MacOS). Sadly, I don't have access to a Mac to test at the moment, but I'am pretty sure that skipping tests "because it is NixOS" is a bad idea.

@Chemaclass
Copy link
Member Author

Ok, I will revert it for now and try to think another way to solve this, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pure testing Pure testing related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants