Skip to content
Snippets Groups Projects
Commit 5b1dc1a9 authored by Elena Gryaznova's avatar Elena Gryaznova
Browse files

b=14385

i=Adilger

force test_5c to use mount_client
parent 42c601bc
No related branches found
No related tags found
No related merge requests found
...@@ -293,7 +293,10 @@ test_5c() { ...@@ -293,7 +293,10 @@ test_5c() {
start_mds start_mds
[ -d $MOUNT ] || mkdir -p $MOUNT [ -d $MOUNT ] || mkdir -p $MOUNT
grep " $MOUNT " /etc/mtab && echo "test 5c: mtab before mount" && return 10 grep " $MOUNT " /etc/mtab && echo "test 5c: mtab before mount" && return 10
mount -t lustre $MGSNID:/wrong.$FSNAME $MOUNT || : local oldfs="${FSNAME}"
FSNAME="wrong.${FSNAME}"
mount_client $MOUNT || :
FSNAME=${oldfs}
grep " $MOUNT " /etc/mtab && echo "test 5c: mtab after failed mount" && return 11 grep " $MOUNT " /etc/mtab && echo "test 5c: mtab after failed mount" && return 11
umount_client $MOUNT umount_client $MOUNT
cleanup_nocli || return $? cleanup_nocli || return $?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment