[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[rhel6-branch 2/2] Fix the list-harddrives test script (#706099)



---
 command-stubs/list-harddrives-test |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/command-stubs/list-harddrives-test b/command-stubs/list-harddrives-test
index 1ab81cc..c7eb27a 100644
--- a/command-stubs/list-harddrives-test
+++ b/command-stubs/list-harddrives-test
@@ -38,9 +38,9 @@ def list_harddrives_test():
             continue
 
         if dev.path.startswith('/dev/'):
-            devices.add(dev.path[5:], dev.getSize())
+            devices.add("%s %s" % (dev.path[5:], dev.getSize()))
         else:
-            devices.add(dev.path, dev.getSize())
+            devices.add("%s %s" % (dev.path, dev.getSize()))
 
     devices = sorted(devices)
 
-- 
1.7.3.2


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]