Whamcloud - gitweb
LU-7813 tests: clean up ost-pools.sh 89/18889/9
authorJames Nunez <james.a.nunez@intel.com>
Thu, 23 Jun 2016 22:51:56 +0000 (16:51 -0600)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 2 Sep 2016 02:24:02 +0000 (02:24 +0000)
commit9ae317d9b4fa0cd40365d0100172d0b8e0dbc828
treedce348e59f8f4ce5c54aca52352b90d74e934abe
parent9197849bc761f7fbbdee65916ad1346eec79d412
LU-7813 tests: clean up ost-pools.sh

Clean up the tests in ost-pools.sh to drop archaic use of
"lfs getstripe -v" that parses the output text in favour of
using options for "lfs getstripe -c" for OST count.

Add the check for newly-created dir/file being in the pool
into create_dir() and create_file().

Test-Parameters: trivial testlist=ost-pools

Signed-off-by: Andreas Dilger <andreas.dilger@intel.com>
Signed-off-by: James Nunez <james.a.nunez@intel.com>
Change-Id: Ib2df663a62f89df48a70d07702b41f05f0194ef9
Reviewed-on: http://review.whamcloud.com/18889
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Saurabh Tandan <saurabh.tandan@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/tests/ost-pools.sh