[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Fwd: [PATCH] Added reboot, upgrade, user, zerombr test cases.
- From: Chris Lumens <clumens redhat com>
- To: kickstart-list redhat com
- Subject: Re: Fwd: [PATCH] Added reboot, upgrade, user, zerombr test cases.
- Date: Mon, 9 Feb 2009 14:23:26 -0500
> +class FC3_TestCase(CommandTest):
> + def runTest(self):
> + # pass
> + self.assert_parse("reboot", "reboot\n")
> + self.assert_parse("shutdown", "shutdown\n")
> +
> + # fail
> +
> +
> +class FC6_TestCase(FC3_TestCase):
> + def runTest(self):
> + # pass
> + self.assert_parse("reboot --eject", "reboot --eject\n")
> + self.assert_parse("shutdown --eject", "shutdown --eject\n")
> +
> + # fail
> +
> +
This one can also be called as halt or poweroff, so we should definitely
make sure to handle those cases too. I've applied all the rest.
- Chris
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]