Whamcloud - gitweb
LU-425 tests: fix the issue of using "grep -w"
[fs/lustre-release.git] / lustre / tests / replay-dual.sh
index 1d3f1c3..08a9662 100755 (executable)
@@ -25,7 +25,7 @@ build_test_filter
 
 check_and_setup_lustre
 MOUNTED=$(mounted_lustre_filesystems)
-if ! $(echo $MOUNTED | grep -w -q $MOUNT2); then
+if ! $(echo $MOUNTED' ' | grep -w -q $MOUNT2' '); then
     zconf_mount $HOSTNAME $MOUNT2
     MOUNTED2=yes
 fi