Whamcloud - gitweb
LU-1538 tests: keep /sbin/mount.lustre until cleanup 81/10481/2
authorAndreas Dilger <andreas.dilger@intel.com>
Wed, 28 May 2014 23:15:25 +0000 (17:15 -0600)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 17 Jun 2014 04:04:35 +0000 (04:04 +0000)
commit2ade2c4e1481c4bacf49e871cbd299cfc2ccc3b3
tree584a81c32f997d77b737e3fc407f64ccedc887c4
parent9245e456e7d38222034626bc26e7de2f95657ee0
LU-1538 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: Ied7b69f536bad87333cf5c543384723415500c1e
Reviewed-on: http://review.whamcloud.com/10481
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
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