[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: nmh 1.8RC2, xlbiff, and $HOME
From: |
Stephen Gildea |
Subject: |
Re: nmh 1.8RC2, xlbiff, and $HOME |
Date: |
Mon, 30 Jan 2023 20:45:56 -0800 |
Ken Hornstein <kenh@pobox.com> wrote:
> >$ printf 'Path: /tmp\n' > /tmp/mh-profile-minimal
> >$ HOME= MH=/tmp/mh-profile-minimal /usr/bin/mh/mhparam path
>
> Thank you for the analysis. I am wondering, though ... WHY does xlbiff
> set HOME to '' for this test?
To be clear, it is not xlbiff itself that does this, only an automated
unit test. The test setup sets HOME to create a hermetic testing
environment; the result of the test should not depend on the user
running the test. My current test sets HOME to an empty string.
The test could just as effectively set HOME to an non-existent directory.
I know of other test suites that use this approach. This would still
give me a hermetic, repeatable test, while leaving nmh more freedom to
make, test, and enforce decisions about what values of HOME are allowed.
< Stephen
- Re: nmh 1.8RC2, xlbiff, and $HOME, (continued)
- Re: nmh 1.8RC2, xlbiff, and $HOME, Ralph Corderoy, 2023/01/31
- Re: nmh 1.8RC2, xlbiff, and $HOME, Ken Hornstein, 2023/01/31
- Re: nmh 1.8RC2, xlbiff, and $HOME, Ralph Corderoy, 2023/01/31
- Re: nmh 1.8RC2, xlbiff, and $HOME, Bakul Shah, 2023/01/31
- Re: nmh 1.8RC2, xlbiff, and $HOME, Ken Hornstein, 2023/01/31
- Re: nmh 1.8RC2, xlbiff, and $HOME, Ralph Corderoy, 2023/01/31
- Re: nmh 1.8RC2, xlbiff, and $HOME, Steffen Nurpmeso, 2023/01/31
- Re: nmh 1.8RC2, xlbiff, and $HOME, Robert Elz, 2023/01/31
- Re: nmh 1.8RC2, xlbiff, and $HOME, Robert Elz, 2023/01/31
- Re: nmh 1.8RC2, xlbiff, and $HOME, Ken Hornstein, 2023/01/30
- Re: nmh 1.8RC2, xlbiff, and $HOME,
Stephen Gildea <=
- Re: nmh 1.8RC2, xlbiff, and $HOME, Robert Elz, 2023/01/30
- Re: nmh 1.8RC2, xlbiff, and $HOME, Ralph Corderoy, 2023/01/31
- Re: nmh 1.8RC2, xlbiff, and $HOME, David Levine, 2023/01/31
- Re: nmh 1.8RC2, xlbiff, and $HOME, Robert Elz, 2023/01/31
- Re: nmh 1.8RC2, xlbiff, and $HOME, David Levine, 2023/01/30
- Re: nmh 1.8RC2, xlbiff, and $HOME, Ralph Corderoy, 2023/01/31
- Re: nmh 1.8RC2, xlbiff, and $HOME, Ralph Corderoy, 2023/01/31
Re: 1.8RC2?, Pascal Stumpf, 2023/01/28
Message not available