Whamcloud - gitweb
LU-10566 test: fix nfs exports clean up 79/31679/5
authorMinh Diep <minh.diep@intel.com>
Fri, 16 Mar 2018 18:36:21 +0000 (11:36 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 9 Apr 2018 19:50:58 +0000 (19:50 +0000)
nfsv3 clean up fail causing subsequence tests to fail

Test-Parameters: trivial testlist=parallel-scale-nfsv3, parallel-scale-nfsv4

Change-Id: Ic4eb02ea4e4f142753fe36cf110ea0fbec398822
Signed-off-by: Minh Diep <minh.diep@intel.com>
Reviewed-on: https://review.whamcloud.com/31679
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: James Nunez <james.a.nunez@intel.com>
Reviewed-by: Jian Yu <jian.yu@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/tests/setup-nfs.sh

index d5d54ca..fa497fb 100755 (executable)
@@ -67,7 +67,7 @@ cleanup_nfs() {
                                 service nfsserver stop; } ||
                                 service nfs stop" || return 1
 
-       do_nodes $LUSTRE_CLIENT "sed -i '/^${MNTPNT##*/}/d' /etc/exports" || return 1
+       do_nodes $LUSTRE_CLIENT "sed -i '/${MNTPNT##*/}/d' /etc/exports" || return 1
 
        do_nodes $LUSTRE_CLIENT "exportfs -v"
 }