Re: [PATCH try 2] t1301-shared-repo.sh: don't let a default ACL interfere with the test
- Date: Wed, 15 Oct 2008 22:23:20 -0700
- From: Junio C Hamano <gitster@xxxxxxxxx>
- Subject: Re: [PATCH try 2] t1301-shared-repo.sh: don't let a default ACL interfere with the test
Johannes Sixt <j.sixt@xxxxxxxxxxxxx> writes: > Junio C Hamano schrieb: > >> If that is the case what difference does your suggestion of not putting it >> in test-lib.sh make? We discourage users from playing ACL games, and we >> protect ourselves from such by making sure the trash directory used for >> running tests are not contaminated with ACL. Wouldn't it make more sense >> to do so for all the tests, so that future test writers do not have to >> worry about it? > > We have to decide case by case. In the case of shared directories it makes > sense to suggest "do not play ACL games". In other cases, however, this > suggestion could not work out that well, and a workaround in the code is > the better solutions. But we do not know what those other cases are, and > the test suite may be a tool to uncover them. Although I am not particularly interested in hypothetical case that does not have concrete examples, I do not care deeply enough either. So let's take this patch (with updated/corrected log message) that minimally covers the parts that can be broken by ACL games. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
- Follow-Ups:
- [PATCH try 4] t1301-shared-repo.sh: don't let a default ACL interfere with the test
- From: Matt McCutchen
- [PATCH try 3] t1301-shared-repo.sh: don't let a default ACL interfere with the test
- From: Matt McCutchen
- Re: [PATCH try 2] t1301-shared-repo.sh: don't let a default ACL interfere with the test
- From: Matt McCutchen
- [PATCH try 4] t1301-shared-repo.sh: don't let a default ACL interfere with the test
- References:
- [PATCH] t1301-shared-repo.sh: don't let a default ACL interfere with the test
- From: Matt McCutchen
- [PATCH try 2] t1301-shared-repo.sh: don't let a default ACL interfere with the test
- From: Matt McCutchen
- Re: [PATCH try 2] t1301-shared-repo.sh: don't let a default ACL interfere with the test
- From: Junio C Hamano
- Re: [PATCH try 2] t1301-shared-repo.sh: don't let a default ACL interfere with the test
- From: Johannes Sixt
- Re: [PATCH try 2] t1301-shared-repo.sh: don't let a default ACL interfere with the test
- From: Junio C Hamano
- Re: [PATCH try 2] t1301-shared-repo.sh: don't let a default ACL interfere with the test
- From: Johannes Sixt
- Re: [PATCH try 2] t1301-shared-repo.sh: don't let a default ACL interfere with the test
- From: Junio C Hamano
- Re: [PATCH try 2] t1301-shared-repo.sh: don't let a default ACL interfere with the test
- From: Johannes Sixt
- [PATCH] t1301-shared-repo.sh: don't let a default ACL interfere with the test
- Prev by Date: Re: builtin conversion between tabs and spaces
- Next by Date: Re: [PATCH] Teach/Fix git-pull/git-merge --quiet and --verbose
- Previous by thread: Re: [PATCH try 2] t1301-shared-repo.sh: don't let a default ACL interfere with the test
- Next by thread: Re: [PATCH try 2] t1301-shared-repo.sh: don't let a default ACL interfere with the test
- Index(es):