Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor update stor_list_disk to skip test on adding rhel6 2T disk #32

Merged
merged 3 commits into from Mar 17, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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" ] && [ $dynamicDiskSize -ge 1024 ]; then
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

$CapacityGB

LogMsg "Skip rhel6 test if disk size larger then 1T."
UpdateSummary "Skip rhel6 test if disk size larger then 1T."
SetTestStateSkipped
exit 1
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

exit only

fi

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