Print this page
4206 history_003_pos relies on exact size of history log and entries
4207 history_008_pos depends on obsolete internal history log message
4208 Typo in zfs_main.c: "posxiuser"
4209 Populate zfstest with the remainder of the STF tests
Reviewed by: Sonu Pillai <sonu.pillai@delphix.com>
Reviewed by: Will Guyette <will.guyette@delphix.com>
Reviewed by: Eric Diven <eric.diven@delphix.com>
Reviewed by: Christopher Siden <christopher.siden@delphix.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_get/zpool_get_002_pos.ksh
          +++ new/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_get/zpool_get_002_pos.ksh
↓ open down ↓ 17 lines elided ↑ open up ↑
  18   18  # information: Portions Copyright [yyyy] [name of copyright owner]
  19   19  #
  20   20  # CDDL HEADER END
  21   21  #
  22   22  
  23   23  #
  24   24  # Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
  25   25  # Use is subject to license terms.
  26   26  #
  27   27  
       28 +#
       29 +# Copyright (c) 2013 by Delphix. All rights reserved.
       30 +#
       31 +
  28   32  . $STF_SUITE/include/libtest.shlib
  29   33  . $STF_SUITE/tests/functional/cli_root/zpool_get/zpool_get.cfg
  30   34  
  31   35  #
  32   36  # DESCRIPTION:
  33   37  #
  34   38  # zpool get all works as expected
  35   39  #
  36   40  # STRATEGY:
  37   41  #
↓ open down ↓ 36 lines elided ↑ open up ↑
  74   78          fi
  75   79          i=$(( $i + 1 ))
  76   80  done
  77   81  
  78   82  # increment the counter to include the header line
  79   83  i=$(( $i + 1 ))
  80   84  
  81   85  COUNT=$($WC /tmp/values.$$ | $AWK '{print $1}')
  82   86  if [ $i -ne $COUNT ]
  83   87  then
  84      -        log_fail "Length of output $COUNT was not equal to number of props + 1."
       88 +        log_fail "Found zpool features not in the zpool_get test config."
  85   89  fi
  86   90  
  87   91  
  88   92  
  89   93  $RM /tmp/values.$$
  90   94  log_pass "Zpool get all works as expected"
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX