From a74fcaa4e53394fe19b1e1f581dc798a8dc0dce9 Mon Sep 17 00:00:00 2001 From: Timothy Day Date: Fri, 31 Mar 2023 04:12:46 +0000 Subject: [PATCH] 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 --- lustre/tests/test-framework.sh | 20 -------------------- 1 file changed, 20 deletions(-) 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 -- 1.8.3.1