Whamcloud - gitweb
LU-1943 test: Support --with-ldiskfsprogs in test framework
authorBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 29 Sep 2011 19:27:24 +0000 (12:27 -0700)
committerOleg Drokin <green@whamcloud.com>
Sat, 6 Oct 2012 21:03:51 +0000 (17:03 -0400)
commit19ca690b5150a316d505f8f72671906682fbfb28
tree2135c124891ff34fb7837dbb23ff5c96ef2d9a36
parent5a18ff10504276d46e8b1615629743566d9c0cee
LU-1943 test: Support --with-ldiskfsprogs in test framework

ORI-347 port to the master

When Lustre is built with the --with-ldiskfsprogs option the
Lustre utilities will expect to find the e2fsprogs utilties
repackaged as ldiskfsprogs on the system.  This is done to
avoid having to replace the distribution provided e2fsprogs
package.

This change extends the test framework to check for the
ldiskfsprogs utilties to avoid having to explicitly set
the shell variables when --with-ldiskfsprogs is used.
If the tools are not available it will fallback to using
the e2fsprogs utilities.

Signed-off-by: Prakash Surya <surya1@llnl.gov>
Signed-off-by: Mikhail Pershin <tappro@whamcloud.com>
Change-Id: Ia094d9b005f7e455beca1c5d6d6ad03bdc03671f
Reviewed-on: http://review.whamcloud.com/4194
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/test-framework.sh