From: Timothy Day Date: Fri, 31 Mar 2023 04:12:46 +0000 (+0000) Subject: LU-16694 tests: remove deprecated h2tcp, h2o2ib X-Git-Tag: 2.15.56~166 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F13%2F50513%2F2;p=fs%2Flustre-release.git LU-16694 tests: remove deprecated h2tcp, h2o2ib These functions were deprecated about 6 years ago. It's probably safe to remove them now. Test-Parameters: trivial Signed-off-by: Timothy Day Change-Id: I6b16d0ad1dc1ea6f00fc730cb95672ef3c07f8a5 Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/50513 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Andreas Dilger Reviewed-by: Alex Deiter Reviewed-by: Oleg Drokin --- diff --git a/lustre/tests/test-framework.sh b/lustre/tests/test-framework.sh index 4026d9b..65ab2cd 100755 --- a/lustre/tests/test-framework.sh +++ b/lustre/tests/test-framework.sh @@ -3997,26 +3997,6 @@ h2nettype() { } declare -fx h2nettype -# Wrapper function to print the deprecation warning -h2tcp() { - echo "h2tcp: deprecated, use h2nettype instead" 1>&2 - if [[ -n "$NETTYPE" ]]; then - h2nettype "$@" - else - h2nettype "$1" "tcp" - fi -} - -# Wrapper function to print the deprecation warning -h2o2ib() { - echo "h2o2ib: deprecated, use h2nettype instead" 1>&2 - if [[ -n "$NETTYPE" ]]; then - h2nettype "$@" - else - h2nettype "$1" "o2ib" - fi -} - # This enables variables in cfg/"setup".sh files to support the pdsh HOSTLIST # expressions format. As a bonus we can then just pass in those variables # to pdsh. What this function does is take a HOSTLIST type string and