Print this page
8858 /usr/bin/grep doesn't support -E option
4580 /usr/bin/grep can't handle multibyte characters
8929 8868 tests are not delivered with system/test/utiltest
8860 Example in grep(1) is incorrect
Reviewed by: Peter Tribble <peter.tribble@gmail.com>
Reviewed by: Toomas Soome <tsoome@me.com>
Reviewed by: Yuri Pankov <yuripv@gmx.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/test/zfs-tests/tests/functional/acl/acl_common.kshlib
          +++ new/usr/src/test/zfs-tests/tests/functional/acl/acl_common.kshlib
↓ open down ↓ 402 lines elided ↑ open up ↑
 403  403  #
 404  404  function get_xattr #<obj>
 405  405  {
 406  406          typeset obj=$1
 407  407          typeset xattr
 408  408          if (( ${#obj} == 0 )); then
 409  409                  return 1
 410  410          fi
 411  411  
 412  412          for xattr in `runat $obj ls | \
 413      -                /usr/xpg4/bin/egrep -v -e SUNWattr_ro -e SUNWattr_rw` ; do
      413 +                /usr/bin/egrep -v -e SUNWattr_ro -e SUNWattr_rw` ; do
 414  414                  runat $obj sum $xattr
 415  415          done
 416  416  }
 417  417  
 418  418  #
 419  419  # Get the owner of a file/directory
 420  420  #
 421  421  function get_owner #node
 422  422  {
 423  423          typeset node=$1
↓ open down ↓ 207 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX