diff options
Diffstat (limited to 'tests/ls')
-rwxr-xr-x | tests/ls/nameless-uid | 4 | ||||
-rwxr-xr-x | tests/ls/readdir-mountpoint-inode | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/tests/ls/nameless-uid b/tests/ls/nameless-uid index e54c7ae55..73023a92c 100755 --- a/tests/ls/nameless-uid +++ b/tests/ls/nameless-uid @@ -24,7 +24,9 @@ print_ver_ ls require_root_ -nameless_uid=`$PERL -e 'foreach my $i (1000..16*1024) { getpwuid $i or (print "$i\n"), exit }'` +nameless_uid=`$PERL -e ' + foreach my $i (1000..16*1024) { getpwuid $i or (print "$i\n"), exit } +'` if test x$nameless_uid = x; then skip_test_ "couldn't find a nameless UID" diff --git a/tests/ls/readdir-mountpoint-inode b/tests/ls/readdir-mountpoint-inode index 8c17eb455..fc837d0d7 100755 --- a/tests/ls/readdir-mountpoint-inode +++ b/tests/ls/readdir-mountpoint-inode @@ -22,7 +22,8 @@ print_ver_ ls # We use --local here so as to not activate # potentially very many remote mounts. mount_points=$(df --local -P 2>&1 | sed -n 's,.*[0-9]% \(/.\),\1,p') -test -z "$mount_points" && skip_test_ "this test requires a non-root mount point" +test -z "$mount_points" && + skip_test_ "this test requires a non-root mount point" # Given e.g., /dev/shm, produce the list of GNU ls options that # let us list just that entry using readdir data from its parent: |