Skip to content

Commit

Permalink
Merge pull request #32 from lixuemin2016/master
Browse files Browse the repository at this point in the history
Minor update stor_list_disk to skip test on adding rhel6 2T disk
  • Loading branch information
henrywang committed Mar 17, 2017
2 parents 7a3ad68 + 80dec21 commit 7cd3eec
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions remote-scripts/stor_lis_disk.sh
Expand Up @@ -44,6 +44,12 @@ fi

# when add 1G disk, 1073741824 shows in fdisk
dynamicDiskSize=$(($CapacityGB*1024*1024*1024))
if [ $DISTRO = "redhat_6" ] && [ $CapacityGB -ge 1024 ]; then
LogMsg "Skip rhel6 test if disk size larger then 1T."
UpdateSummary "Skip rhel6 test if disk size larger then 1T."
SetTestStateSkipped
exit
fi

CheckDiskCount
if [ "$?" != "0" ];then
Expand Down

0 comments on commit 7cd3eec

Please sign in to comment.