From 71f3c7aa1e9beb14a9b7a171fb94a3d06e2831c3 Mon Sep 17 00:00:00 2001 From: Chris Gearing Date: Thu, 15 Nov 2012 10:12:32 -0800 Subject: [PATCH] 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 --- lustre/tests/yaml.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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 <