[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Fix potentially hanging url-auth tests
From: |
Jarno Malmari |
Subject: |
Re: [PATCH] Fix potentially hanging url-auth tests |
Date: |
Sun, 16 Apr 2017 14:21:45 +0300 |
On Sat, 15 Apr 2017, at 18:36, Colin Baxter wrote:
> This patch works for me. Great. Thank you.
Good to hear. Thanks for testing.
As you can see, the fix is local to the test itself. I think this is the
right approach since it is the responsibility of the test to know what
side effects the function calls have (reading the file .authinfo in this
case). The thing I'm not happy about is the possibility of reintroducing
the issue in the future. There's no check for that, but hopefully the
code comments give a clue what to avoid.
Sure, other testing facilities discussed earlier (customized HOME, or a
way to detect if run inside a test) might be useful but probably not
warranted solely by the issue here.
Re: url-auth-tests hang if authinfo is encrypted, Ted Zlatanov, 2017/04/04
- Re: url-auth-tests hang if authinfo is encrypted, Andreas Schwab, 2017/04/04
- Re: url-auth-tests hang if authinfo is encrypted, Colin Baxter, 2017/04/04
- Re: url-auth-tests hang if authinfo is encrypted, Colin Baxter, 2017/04/05
- Re: url-auth-tests hang if authinfo is encrypted, Ted Zlatanov, 2017/04/05
- Re: url-auth-tests hang if authinfo is encrypted, Jarno Malmari, 2017/04/06
- Re: url-auth-tests hang if authinfo is encrypted, Colin Baxter, 2017/04/07
- Re: url-auth-tests hang if authinfo is encrypted, Eli Zaretskii, 2017/04/07
- Re: url-auth-tests hang if authinfo is encrypted, Colin Baxter, 2017/04/07