Automated context-sensitive operating system switch
First Claim
1. A test system for automatically switching operating systems at a system under test (“
- SUT”
), comprising;
a process control file specifying a plurality of commands to be executed on the SUT and further specifying a required operating system applicable to execution of one or more of the commands, wherein at least two different required operation systems are specified as being applicable to the plurality of commands; and
a test sequencer that iteratively evaluates the process control file and, responsive to the evaluation;
selects a next-executable one of the commands;
determines, from the specification of the required operating system, which operating system is required for the selected command;
packages, in a command message, an identification of the required operating system and the selected command;
communicates the identification of the required operating system to a reboot process; and
forwards the packaged command message to the SUT, such that the SUT can compare the identification of the required operating system to a currently-running operating system at the SUT before executing the selected command and, if a mismatch is detected, can trigger the reboot process to reboot the SUT to the required operating system as communicated thereto.
1 Assignment
0 Petitions
Accused Products
Abstract
An automated technique for switching operating systems, responsive to current context of an executing test scenario. A test designer specifies, in a process control file, a required operating system for appropriate command blocks. A test sequencer packages the required operating system name with each command to be executed, and sends that information to a test listener on a system under test. The test listener remembers the currently-running operating system, and compares that to the required operating system for each command to be executed. If a mismatch occurs, then the correct operating system is not running, and the listener automatically triggers a reboot.
-
Citations
23 Claims
-
1. A test system for automatically switching operating systems at a system under test (“
- SUT”
), comprising;
a process control file specifying a plurality of commands to be executed on the SUT and further specifying a required operating system applicable to execution of one or more of the commands, wherein at least two different required operation systems are specified as being applicable to the plurality of commands; and
a test sequencer that iteratively evaluates the process control file and, responsive to the evaluation;
selects a next-executable one of the commands;
determines, from the specification of the required operating system, which operating system is required for the selected command;
packages, in a command message, an identification of the required operating system and the selected command;
communicates the identification of the required operating system to a reboot process; and
forwards the packaged command message to the SUT, such that the SUT can compare the identification of the required operating system to a currently-running operating system at the SUT before executing the selected command and, if a mismatch is detected, can trigger the reboot process to reboot the SUT to the required operating system as communicated thereto. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
- SUT”
-
12. A computer-implemented method for testing a system under test (“
- SUT”
), comprising;
forwarding, from a test sequencer running on a server to a test listener running on the SUT, command messages, each command message comprising a command to be executed on the SUT and an identification of an operating system required for executing the command; and
triggering, by the test listener, a reboot of a currently-running operating system of the SUT, upon detecting that the operating system identified in a next-executable forwarded command message is different from the currently-running operating system. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19, 20)
- SUT”
-
21. A computer-implemented method for testing a system under test (“
- SUT”
), comprising;
forwarding, from a test sequencer running on a server to a test listener running on the SUT, command messages, each command message comprising a command to be executed on the SUT and an identification of an operating system required for executing the command, such that a reboot of a currently-running operating system of the SUT will be triggered, by the test listener, upon detecting that the operating system identified in a next-executable forwarded command message is different from the currently-running operating system.
- SUT”
-
22. A computer-implemented method for testing a system under test (“
- SUT”
), comprising;
triggering, by a test listener running on the SUT, a reboot of a currently-running operating system of the SUT, upon (1) evaluating a command message forwarded to the test listener from a test sequencer running on a server, the command message comprising a command to be executed on the SUT and an identification of an operating system required for executing the command, and (2) detecting that the operating system identified in the forwarded command message is different from the currently-running operating system.
- SUT”
-
23. A computer program product comprising at least one computer-usable media storing computer-readable program code, wherein the computer-readable program code, when executed on a system under test (“
- SUT”
), causes the SUT to;
trigger, by a test listener running on the SUT, a reboot of a currently-running operating system of the SUT, upon (1) evaluating a command message forwarded to the test listener from a test sequencer running on a server, the command message comprising a command to be executed on the SUT and an identification of an operating system required for executing the command, and (2) detecting that the operating system identified in the forwarded command message is different from the currently-running operating system.
- SUT”
Specification