Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 878593 Details for
Bug 1050982
hwcert-client-1.7.0-62.1 storage tests still use ext3 filesystems for benchmark performance
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
patch changing storage to use xfs
0001-1050982-hwcert-client-1.7.0-62.1-storage-tests-still.patch (text/plain), 1.87 KB, created by
Greg Nichols
on 2014-03-25 17:21:16 UTC
(
hide
)
Description:
patch changing storage to use xfs
Filename:
MIME Type:
Creator:
Greg Nichols
Created:
2014-03-25 17:21:16 UTC
Size:
1.87 KB
patch
obsolete
>From 942079a4c395f97086099a7da56d71978fa38a3d Mon Sep 17 00:00:00 2001 >From: Greg Nichols <gnichols@redhat.com> >Date: Tue, 25 Mar 2014 13:20:08 -0400 >Subject: [PATCH] 1050982 - hwcert-client-1.7.0-62.1 storage tests still use > ext3 filesystems for benchmark performance > >--- > tests/storage/storage.py | 7 ++++--- > 1 file changed, 4 insertions(+), 3 deletions(-) > >diff --git a/tests/storage/storage.py b/tests/storage/storage.py >index 214b5bc..6036c96 100644 >--- a/tests/storage/storage.py >+++ b/tests/storage/storage.py >@@ -41,6 +41,7 @@ class StorageTest(Test): > self.maxSize = 1048576 > self.deviceClass = DeviceClass.hard_disk > # self.debug = Constants.low >+ self.fileSystemType = "xfs" > > def tags(self): > return [TestTag.noninteractive, TestTag.certification] >@@ -339,7 +340,7 @@ class StorageTest(Test): > > def testVFS(self, storageDevice, testdev, minBs, maxBs): > """VFS (buffered filesystem) testing.""" >- print "*** Testing buffered filesystem (ext3) performance on %s" % testdev >+ print "*** Testing buffered filesystem (%s) performance on %s" % (self.fileSystemType, testdev) > # Create a new filesystem and mount it. > oldMountdir = storageDevice + ".XXXXXX" > # replace '/' with '-' for cciss devices >@@ -351,8 +352,8 @@ class StorageTest(Test): > else: > print "Error: can not make the mount dir." > return False >- if os.system("mkfs -t ext3 -F /dev/%s" % testdev) == 0: >- if os.system("mount -t ext3 /dev/%s %s" % (testdev, mountdir)) == 0: >+ if os.system("mkfs -t %s -F /dev/%s" % (self.fileSystemType, testdev)) == 0: >+ if os.system("mount -t %s /dev/%s %s" % (self.fileSystemType, testdev, mountdir)) == 0: > print "mount %s ok." % testdev > else: > print "Error: mount %s failed." % testdev >-- >1.8.5.3 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1050982
: 878593 |
880943