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/util-tests/tests/grep_xpg4/grep_test.ksh
          +++ new/usr/src/test/util-tests/tests/grep_xpg4/grep_test.ksh
↓ open down ↓ 7 lines elided ↑ open up ↑
   8    8  #
   9    9  # A full copy of the text of the CDDL should have accompanied this
  10   10  # source.  A copy of the CDDL is also available via the Internet at
  11   11  # http://www.illumos.org/license/CDDL.
  12   12  #
  13   13  
  14   14  #
  15   15  # Copyright 2017 Nexenta Systems, Inc. All rights reserved.
  16   16  #
  17   17  
  18      -XGREP=${XGREP:=/usr/xpg4/bin/grep}
       18 +XGREP=${XGREP:=/usr/bin/grep}
  19   19  FILEDIR=$MY_TESTS/tests/files
  20   20  
  21   21  fail() {
  22   22          echo $1
  23   23          exit -1
  24   24  }
  25   25  
  26   26  FLAGLIST="
  27   27  -n
  28   28  -c
↓ open down ↓ 119 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX