Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: P01privileged fails on CentOS/Fedora (a simple permission issue)



On 10 Mar 2020, at 12:26, Jun. T <takimoto-j@xxxxxxxxxxxxxxxxx> wrote:
> If we need to fix this, a possible quick fix would be to use a
> relative path for MODULE_PATH. In the patch below the path
> name 'Modules' is hard coded in re_zsh().

Sorry, i hadn't considered this possibility. It definitely does need fixed
somehow.

I don't really like the idea of hard-coding the MODULE_PATH for one specific
test file; that feels brittle and weird. And we can't do it for the whole test
harness, because then if someone tried to cd into a temp directory or
something in a test it'd randomly break.

The only other workable alternative i can think of right now is to just make
P* files skip when they detect that they can't traverse to the test directory.

Not sure which is preferable. Maybe someone else has a better idea :/

dana



Messages sorted by: Reverse Date, Date, Thread, Author