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