summaryrefslogtreecommitdiffstats
path: root/commands/storage
diff options
context:
space:
mode:
Diffstat (limited to 'commands/storage')
-rw-r--r--commands/storage/lmi/scripts/storage/fs_cmd.py3
-rw-r--r--commands/storage/test/lmi/test_fs.sh2
2 files changed, 3 insertions, 2 deletions
diff --git a/commands/storage/lmi/scripts/storage/fs_cmd.py b/commands/storage/lmi/scripts/storage/fs_cmd.py
index 93d91ca..5557852 100644
--- a/commands/storage/lmi/scripts/storage/fs_cmd.py
+++ b/commands/storage/lmi/scripts/storage/fs_cmd.py
@@ -108,7 +108,8 @@ class ListSupported(command.LmiLister):
caps = ns.LMI_FileSystemConfigurationCapabilities.first_instance()
cls = ns.LMI_FileSystemConfigurationCapabilities
for fstype in caps.SupportedActualFileSystemTypes:
- yield [cls.SupportedActualFileSystemTypesValues.value_name(fstype)]
+ fsname = cls.SupportedActualFileSystemTypesValues.value_name(fstype)
+ yield [fsname.lower()]
class Create(command.LmiCheckResult):
diff --git a/commands/storage/test/lmi/test_fs.sh b/commands/storage/test/lmi/test_fs.sh
index e05d639..141de5b 100644
--- a/commands/storage/test/lmi/test_fs.sh
+++ b/commands/storage/test/lmi/test_fs.sh
@@ -52,7 +52,7 @@ rlPhaseStartTest
rlLogInfo "Test fs list"
# the last column is lower-case filesystem type in double quotes
- fstype=$(cat $rlRun_LOG | cut -f 4 -d ',' | tr '[a-z]' '[A-Z]')
+ fstype=$(cat $rlRun_LOG | cut -f 4 -d ',' )
rlAssertEquals "Checking fs $fsname is present on $part" "\"$fsname\"" $fstype
rm $rlRun_LOG