Whamcloud - gitweb
LU-17196 tests: sanity-lnet test_310 MR support 95/52695/2
authorChris Horn <chris.horn@hpe.com>
Sun, 8 Oct 2023 04:52:18 +0000 (23:52 -0500)
committerOleg Drokin <green@whamcloud.com>
Wed, 8 Nov 2023 22:04:18 +0000 (22:04 +0000)
Modify sanity-lnet test_310 to work with multi-rail configs.

Test-Parameters: trivial testlist=sanity-lnet env=ONLY=310
Signed-off-by: Chris Horn <chris.horn@hpe.com>
Change-Id: I19d02d5a7da1f9ca2b9c0de791bb63b94dff1fdd
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/52695
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Frank Sehr <fsehr@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Cyril Bordage <cbordage@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/sanity-lnet.sh

index a44f27f..356ca68 100755 (executable)
@@ -3545,7 +3545,7 @@ check_parameter() {
 
        return $(( $(do_lnetctl net show -v | \
                     tee /dev/stderr | \
-                    grep -c "^ \+${para}: ${value}$") != 1 ))
+                    grep -c "^ \+${para}: ${value}$") != ${#INTERFACES[@]} ))
 }
 
 static_config() {