From: Oleg Drokin Date: Wed, 8 Nov 2017 05:29:15 +0000 (-0500) Subject: LU-10211 tests: conf_sanity test 102 don't call lustre_rmmod X-Git-Tag: 2.10.57~45 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F01%2F30001%2F2;p=fs%2Flustre-release.git LU-10211 tests: conf_sanity test 102 don't call lustre_rmmod When testing from build tree lustre/scripts is not in the PATH, so need to call $LUSTRE_RMMOD that knows the actual path to that script. Change-Id: I7e8fa2b4ac8c2d03d1a9a6865c50dbae6c139a30 Signed-off-by: Oleg Drokin Reviewed-on: https://review.whamcloud.com/30001 Reviewed-by: Andreas Dilger Tested-by: Jenkins Tested-by: Maloo Reviewed-by: James Nunez --- diff --git a/lustre/tests/conf-sanity.sh b/lustre/tests/conf-sanity.sh index 20ef29a..57e6ed2 100644 --- a/lustre/tests/conf-sanity.sh +++ b/lustre/tests/conf-sanity.sh @@ -7291,7 +7291,7 @@ test_102() { fi # unload all and only load libcfs to allow fail_loc setting - do_facet mds1 lustre_rmmod || error "unable to unload modules" + do_facet mds1 $LUSTRE_RMMOD || error "unable to unload modules" do_facet mds1 modprobe libcfs || error "libcfs not loaded" do_facet mds1 lsmod \| grep libcfs || error "libcfs not loaded"