From: Chris Gearing Date: Thu, 15 Nov 2012 18:12:32 +0000 (-0800) Subject: LU-913 test: Framework needs to record the test filesystem. X-Git-Tag: 2.3.63~25 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=71f3c7aa1e9beb14a9b7a171fb94a3d06e2831c3;ds=sidebyside LU-913 test: Framework needs to record the test filesystem. Add a section file_system: XXX to the node info in yaml.sh Because this runs on the node being recorded it can use node_fstypes $HOSTNAME to fetch the filesystemtype of the local machine Signed-off-by: Chris Gearing Change-Id: I721e4084096c75b69290959190526ca27b573e1b Reviewed-on: http://review.whamcloud.com/4591 Tested-by: Hudson Reviewed-by: Jian Yu Tested-by: Maloo Reviewed-by: Li Wei Reviewed-by: Wei Liu Reviewed-by: Oleg Drokin --- diff --git a/lustre/tests/yaml.sh b/lustre/tests/yaml.sh index e3d9c8f..e987c75 100644 --- a/lustre/tests/yaml.sh +++ b/lustre/tests/yaml.sh @@ -88,9 +88,10 @@ release() { } yml_build_info() { - TEST_DISTRO=$(release) - LUSTRE_VERSION=$(lctl lustre_build_version | awk '/Lustre version:/ {print $3}') - LUSTRE_BUILD=${LUSTRE_BUILD_SOURCE:-$(sed 's/-.*//' <<<$LUSTRE_VERSION)} + local TEST_DISTRO=$(release) + local LUSTRE_VERSION=$(lctl lustre_build_version | awk '/Lustre version:/ {print $3}') + local LUSTRE_BUILD=${LUSTRE_BUILD_SOURCE:-$(sed 's/-.*//' <<<$LUSTRE_VERSION)} + local FILE_SYSTEM=$(node_fstypes $(hostname -s)) cat <