×

Command execution results verification

  • US 10,169,127 B2
  • Filed: 03/06/2014
  • Issued: 01/01/2019
  • Est. Priority Date: 03/06/2014
  • Status: Active Grant
First Claim
Patent Images

1. A computer program product comprising a computer readable storage medium that is not a transitory signal per se, the computer readable storage medium having computer readable codes stored thereon that cause one or more devices to conduct a method comprising:

  • receiving, by a processor, a file including a plurality of commands and an expected result related to the plurality of commands from a command line interface, the command line interface operating in a script mode that allows a user, with a single login to the command line interface, to define a list of commands to be executed in order by the command line interface;

    executing the plurality of commands to create one or more processes for performing one or more tasks corresponding to the plurality of commands;

    performing the one or more tasks;

    generating one or more result codes corresponding to performance of the one or more tasks, the one or more result codes comprising a first indication of successful command execution or a second indication of errors;

    determining whether the one or more result codes satisfy the expected result based on the first indication or the second indication in the one or more result codes matching the expected result; and

    sending a response to the command line interface in response to determining whether the one or more result codes satisfy the expected result,wherein;

    the response includes one of an error message and a success code,the error message comprises an error code indicating one of an unexpected error and an unexpected success in the one or more result codes,determining whether the one or more result codes satisfy the expected results comprises determining whether the first indication of successful command execution or the second indication of errors matches at least a subset of the expected results,sending the response to the command line interface comprises;

    sending the success code to the command line interface in response to determining a match, andsending the error code to the command line interface in response to determining a non-match,the error code comprises one of;

    a first error indicating an unexpected error in the one or more result codes in response to the subset of expected results including a successful result, anda second error indicating an unexpected success in the one or more result codes in response to the subset of expected results including an error result.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×