]> arthur.barton.de Git - bup.git/commit
test-ls.sh: take only the first 10 chars from ls -l's mode string.
authorRob Browning <rlb@defaultvalue.org>
Tue, 18 Feb 2014 18:30:31 +0000 (12:30 -0600)
committerRob Browning <rlb@defaultvalue.org>
Tue, 18 Feb 2014 18:30:31 +0000 (12:30 -0600)
commitbd27bc382be06bc4923894c7355572b484c4e5f8
treeadc1ca277fc7def554c996478665f9ebcb73b62b
parentebc533cb525eb40fa5506cfdcadb788153762246
test-ls.sh: take only the first 10 chars from ls -l's mode string.

Since ls -l's mode string may not be separated from the next field by
a space (i.e. when ACLs, etc. are involved), take only the first 10
characters for now when retrieving the symlink mode string (cf.
30d9027cc5444f038d38927219dc59e3b69fa219).

Thanks to Mark J Hewitt <mjh@idnet.com> for pointing out the problem
and testing the solution.

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