Re: [PATCH 01/14] test-lib: add test_dir_is_empty()

2014-06-17 Thread Jens Lehmann
Am 17.06.2014 00:05, 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: [PATCH 01/14] test-lib: add test_dir_is_empty()

2014-06-16 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 > --- > t/test-lib-func

[PATCH 01/14] test-lib: add test_dir_is_empty()

2014-06-15 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 --- t/test-lib-functions.sh | 11 +++ 1 file ch