t1301: move modebits() to test-lib-functions.sh
commit73de1c93adbdac279c10668afbc7ba6e48a7ccac
authorChristian Couder <christian.couder@gmail.com>
Sun, 25 Jun 2017 04:34:28 +0000 (25 06:34 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sun, 25 Jun 2017 17:42:52 +0000 (25 10:42 -0700)
tree246288b78b4ff3ddc3af3d6c6727bde80e630a35
parentdf801f3f9f5be52842239f0d0233d5c3fb0cdffd
t1301: move modebits() to test-lib-functions.sh

As the modebits() function can be useful outside t1301,
let's move it into test-lib-functions.sh, and while at
it let's rename it test_modebits().

Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t1301-shared-repo.sh
t/test-lib-functions.sh