]> git.ipfire.org Git - thirdparty/coreutils.git/commit
tests: fix an ls test not to fail when user or group name contains SP
authorJim Meyering <meyering@fb.com>
Sat, 25 May 2013 03:11:37 +0000 (20:11 -0700)
committerJim Meyering <meyering@fb.com>
Mon, 27 May 2013 02:06:55 +0000 (19:06 -0700)
commit909a0561de27e516f3dff8e4a79ce0add5ca148b
tree0de25d67daa1d65a404f08d2261bc1527f1736b6
parentba60445f73c00b664b271ca13ad4cac1f9584cb2
tests: fix an ls test not to fail when user or group name contains SP

* tests/ls/block-size.sh (size_etc): The sed expression through which
we filtered the output of "ls -l ..." assumed that the user and group
name components of each line would not contain spaces.  Avoid the
problem by using -og instead of -l, thus not printing either of those
fields.  Adjust the sed expression accordingly.
tests/ls/block-size.sh