From bb161d2871fce1606ada60d5d53801edd9b10620 Mon Sep 17 00:00:00 2001 From: Oleg Drokin Date: Wed, 8 Nov 2017 00:29:15 -0500 Subject: [PATCH] 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 --- lustre/tests/conf-sanity.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- 1.8.3.1