diff --git a/tests/zfs-tests/include/libtest.shlib b/tests/zfs-tests/include/libtest.shlib index 22b79b15a..da80407a9 100644 --- a/tests/zfs-tests/include/libtest.shlib +++ b/tests/zfs-tests/include/libtest.shlib @@ -23,10 +23,8 @@ # # Copyright 2009 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. -# - -# # Copyright (c) 2012, 2015 by Delphix. All rights reserved. +# Copyright 2016 Nexenta Systems, Inc. # . ${STF_TOOLS}/include/logapi.shlib @@ -2726,21 +2724,6 @@ function get_rootpool fi } -# -# Get the sub string from specified source string -# -# $1 source string -# $2 start position. Count from 1 -# $3 offset -# -function get_substr #src_str pos offset -{ - typeset pos offset - - $ECHO $1 | \ - $NAWK -v pos=$2 -v offset=$3 '{print substr($0, pos, offset)}' -} - # # Check if the given device is physical device #