]> arthur.barton.de Git - bup.git/commit
test-ls.sh: get the group and gid from the filesystem.
authorRob Browning <rlb@defaultvalue.org>
Sat, 22 Mar 2014 15:25:32 +0000 (10:25 -0500)
committerRob Browning <rlb@defaultvalue.org>
Sat, 22 Mar 2014 15:25:32 +0000 (10:25 -0500)
commit7ad76808399d91955111a53033d708be7c41e529
treea583909af3f59974a352abd39e323198962019a4
parent4289be0a394ef4d4008d38a688b31ade02e9d753
test-ls.sh: get the group and gid from the filesystem.

Get the expected gid from the filesystem, not "id", because on some
platforms (BSDs, etc.) a new path's gid is taken from the parent
directory, not the effective gid.

Thanks to Thomas Klausner <tk@giga.or.at> for reporting the problem
and to him and Greg Troxel <gdt@ir.bbn.com> for helping craft the
solution.

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
t/test-ls.sh