KenKundert / emborg

Interactive command line interface to Borg Backup
GNU General Public License v3.0
94 stars 8 forks source link

Tests not runnable on case-insensitive systems #69

Closed viraptor closed 1 year ago

viraptor commented 1 year ago

Since the tests do things like:

            rm("configs .config .local repositories configs.symlink".split())
>           cp("CONFIGS", "configs")

they cannot be run on case-insensitive filesystems like macos. This could be fixed by using a name like configs.fixture rather than relying on CONFIGS being different from configs.

This came up when automatically testing in nixpkgs: https://hydra.nixos.org/build/212351260/nixlog/3

KenKundert commented 1 year ago

Thanks for reporting this. I'll get back to you when I've resolved the issue.

KenKundert commented 1 year ago

I believe this to be resolved in the latest release (1.35), which is now on pypi.

viraptor commented 1 year ago

Thanks. That solved the config naming issues. There's till other stuff that fails now, but I'll try to debug that separately.