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 jens.lehm...@web.de 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

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

2014-06-16 Thread Junio C Hamano
Jens Lehmann jens.lehm...@web.de 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

[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 jens.lehm...@web.de --- t/test-lib-functions.sh | 11