Re: Fwd: [PATCH] Added reboot, upgrade, user, zerombr test cases.

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

 



> +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

_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/kickstart-list

[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux