Whamcloud - gitweb
b=21927 replay-vbr 18 <-> 20 interop fix
authorElena Gryaznova <grev@sun.com>
Wed, 10 Mar 2010 19:03:54 +0000 (22:03 +0300)
committerJohann Lombardi <johann@sun.com>
Wed, 10 Mar 2010 22:53:06 +0000 (23:53 +0100)
i=Mikhail.Pershin

lustre/tests/replay-vbr.sh

index a0c123f..9a41fd5 100644 (file)
@@ -701,7 +701,7 @@ test_3a() {
     zconf_mount_clients $CLIENT2 $DIR
 
     #make sure the time will change
-    do_facet mds "$LCTL set_param mds.${mds_svc}.atime_diff=0" || return
+    do_facet mds "$LCTL set_param *.*.atime_diff=0" || return
     do_node $CLIENT1 touch $DIR/$tfile
     do_node $CLIENT2 $CHECKSTAT $DIR/$tfile
     sleep 1
@@ -733,8 +733,8 @@ test_3b() {
     zconf_mount_clients $CLIENT2 $DIR
 
     #make sure the time will change
-    do_facet mds "$LCTL set_param mds.${mds_svc}.atime_diff=0" || return
-    do_facet mds "$LCTL set_param mds.${mds_svc}.sync_permission=0" || return
+    do_facet mds "$LCTL set_param *.*.atime_diff=0" || return
+    do_facet mds "$LCTL set_param *.*.sync_permission=0" || return
     do_node $CLIENT1 touch $DIR/$tfile
     do_node $CLIENT2 $CHECKSTAT $DIR/$tfile
     sleep 1
@@ -769,7 +769,7 @@ test_3c() {
     zconf_mount_clients $CLIENT2 $DIR
 
     # check that permission changes are synced
-    do_facet mds "$LCTL set_param mds.${mds_svc}.sync_permission=1"
+    do_facet mds "$LCTL set_param *.*.sync_permission=1"
 
     do_node $CLIENT1 mkdir -p $DIR/d3c/sub || error
     #chown -R $RUNAS_ID $MOUNT1/d3