Whamcloud - gitweb
LU-3973 tests: use -P option of df to avoid line breaks
authorBruno Faccini <bruno.faccini@intel.com>
Thu, 31 Oct 2013 23:50:27 +0000 (00:50 +0100)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 7 Jan 2014 16:29:13 +0000 (11:29 -0500)
commit55677e1922ff2313df34a5f6224b8dd50a9dfb3c
tree52ff4f132ebdc38f7abc0828ff5ff9a64062f24f
parent5ede1151a8c9f23eaba23d35a3c3e2a3dc9cf9b6
LU-3973 tests: use -P option of df to avoid line breaks

Sometimes df command output requires to break lines to
allow for columns alignement. This causes fields parsing
to fail. Use -P option to select compatibility output
and ensure one single line format per file-system is used.

Signed-off-by: Bruno Faccini <bruno.faccini@intel.com>
Change-Id: Ibc9d4b8f50857e680a5590dbbfe312fce137bcb6
Reviewed-on: http://review.whamcloud.com/7915
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: jacques-Charles Lafoucriere <jacques-charles.lafoucriere@cea.fr>
Reviewed-by: James Nunez <james.a.nunez@intel.com>
lustre/tests/sanity-hsm.sh