FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > ArchLinux > ArchLinux Development

 
 
LinkBack Thread Tools
 
Old 11-04-2011, 07:00 PM
David Lehman
 
Default Add tests for bootloader --boot-drive.

---
tests/commands/bootloader.py | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/tests/commands/bootloader.py b/tests/commands/bootloader.py
index 3905cce..d3ac7ab 100644
--- a/tests/commands/bootloader.py
+++ b/tests/commands/bootloader.py
@@ -112,6 +112,15 @@ class F15_TestCase(F14_TestCase):
self.assert_parse("bootloader --password=blahblah --iscrypted", "bootloader --location=mbr --password="blahblah" --iscrypted
")
self.assert_parse("bootloader --md5pass=blahblah", "bootloader --location=mbr --password="blahblah" --iscrypted
")

+class F17_TestCase(F15_TestCase):
+ def runTest(self, iscrypted=False):
+ # run parent tests
+ F15_TestCase.runTest(self, iscrypted=iscrypted)
+
+ self.assert_parse("bootloader --location=mbr --boot-drive=/dev/sda")
+ self.assert_parse("bootloader --location=mbr --boot-drive=sda")
+ self.assert_parse("bootloader --location=mbr --boot-drive=/dev/disk/by-path/pci-0000:00:0e.0-scsi-0:0:0:0")
+
class RHEL5_TestCase(FC4_TestCase):
def runTest(self, iscrypted=False):
FC4_TestCase.runTest(self, iscrypted)
--
1.7.3.4

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 07:19 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org