Re: [RFC/PATCH 1/4] test-lib: add test_dir_is_empty()

2014-03-26 Thread Jens Lehmann
Am 26.03.2014 11:43, schrieb Michael Haggerty: > On 03/26/2014 09:29 AM, Jens Lehmann wrote: >> Am 25.03.2014 21:49, schrieb Junio C Hamano: >>> Jens Lehmann writes: t/test-lib-functions.sh | 11 +++ 1 file changed, 11 insertions(+) diff --git a/t/test-lib-functions.sh

Re: [RFC/PATCH 1/4] test-lib: add test_dir_is_empty()

2014-03-26 Thread David Kastrup
Junio C Hamano writes: > Jens Lehmann writes: > >> For the upcoming submodule test framework we often need to assert that an >> empty directory exists in the work tree. Add the test_dir_is_empty() >> function which asserts that the given argument is an empty directory. >> >> Signed-off-by: Jens

Re: [RFC/PATCH 1/4] test-lib: add test_dir_is_empty()

2014-03-26 Thread Michael Haggerty
On 03/26/2014 09:29 AM, Jens Lehmann wrote: > Am 25.03.2014 21:49, schrieb Junio C Hamano: >> Jens Lehmann writes: >> >>> For the upcoming submodule test framework we often need to assert that an >>> empty directory exists in the work tree. Add the test_dir_is_empty() >>> function which asserts th

Re: [RFC/PATCH 1/4] test-lib: add test_dir_is_empty()

2014-03-26 Thread Jens Lehmann
Am 25.03.2014 21:49, schrieb Junio C Hamano: > Jens Lehmann writes: > >> For the upcoming submodule test framework we often need to assert that an >> empty directory exists in the work tree. Add the test_dir_is_empty() >> function which asserts that the given argument is an empty directory. >> >>

Re: [RFC/PATCH 1/4] test-lib: add test_dir_is_empty()

2014-03-25 Thread Junio C Hamano
Jens Lehmann writes: > For the upcoming submodule test framework we often need to assert that an > empty directory exists in the work tree. Add the test_dir_is_empty() > function which asserts that the given argument is an empty directory. > > Signed-off-by: Jens Lehmann > --- > > I believe this

[RFC/PATCH 1/4] test-lib: add test_dir_is_empty()

2014-03-25 Thread Jens Lehmann
For the upcoming submodule test framework we often need to assert that an empty directory exists in the work tree. Add the test_dir_is_empty() function which asserts that the given argument is an empty directory. Signed-off-by: Jens Lehmann --- I believe this one is pretty straightforward (unles