Whamcloud - gitweb
LU-5499 tests: keep /sbin/mount.lustre until cleanup 59/11259/7
authorAndreas Dilger <andreas.dilger@intel.com>
Wed, 28 May 2014 23:15:25 +0000 (17:15 -0600)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 12 Sep 2014 19:34:50 +0000 (19:34 +0000)
commitf042378fd661bde51f32de2fd400f6afb784f6b9
treec04e9fa660cf738caf6003dbfa56ac938fdc6fb0
parented5ebb87bfc2b684958daac90c4369f395482a16
LU-5499 tests: keep /sbin/mount.lustre until cleanup

Don't unmount /sbin/mount.lustre in the middle of running tests
on a local test system if it is not doing final cleanup.  Otherwise,
later mounts may fail.

The current /sbin/mount.lustre mountpoint is an empty stub that
returns success (0) if executed, but doesn't mount the filesystem.
Instead, create a mountpoint that prints an message if executed and
returns an error to the caller, so it is easier to debug problems.

Signed-off-by: Andreas Dilger <andreas.dilger@intel.com>
Change-Id: Ied7b69f536bad87333cf5c543384723412500c1e
Reviewed-on: http://review.whamcloud.com/11259
Reviewed-by: frank zago <fzago@cray.com>
Tested-by: Jenkins
Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/tests/sanity.sh
lustre/tests/test-framework.sh