[LU-16383] t-f don't complain about missing MDSDEV1 Created: 12/Dec/22  Updated: 12/Dec/22

Status: Open
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Trivial
Reporter: Alex Zhuravlev Assignee: Alex Zhuravlev
Resolution: Unresolved Votes: 0
Labels: None

Rank (Obsolete): 9223372036854775807

 Description   

MGSDEV=/tmp/lustre-mgs sh llmount.sh:

./../tests/test-framework.sh: line 4561: [: /tmp/lustre-mgs: unary operator expected
./../tests/test-framework.sh: line 4561: [: /tmp/lustre-mgs: unary operator expected
./../tests/test-framework.sh: line 4561: [: /tmp/lustre-mgs: unary operator expected

that's because MDSDEV1 is not defined in mgsdevname():

        case $fstype in
        ldiskfs )
                if [ $(facet_host mgs) = $(facet_host mds1) ] &&
                  ( [ -z "$MGSDEV" ] || [ $MGSDEV = $MDSDEV1 ] ); then


 Comments   
Comment by Gerrit Updater [ 12/Dec/22 ]

"Alex Zhuravlev <bzzz@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/49373
Subject: LU-16383 tests: mgsdevname() don't use MGSDEV1
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 0b8de4d82b6f457848c1e7f2fcaee438cd8e1c86

Generated at Sat Feb 10 03:26:33 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.