CDRouter Support

Can I run multiple startup scripts with the RestartDut testvar?

knowledge-base version 10.3

The RestartDut testvar supports execution of multiple startup scripts or commands. To utilize this functionality, each command must be separated with a semi-colon.

For example, assume two scripts have been written to control the device under test (DUT). One script reconfigures the DUT and is located in /home/lab/scripts/reconfigure. The second script reboots the DUT and is located in /home/lab/scripts/reboot. Both of these scripts can be called at the start of a test run using the RestartDut testvar:

testvar RestartDut "/home/lab/scripts/reconfigure; sleep 30; /home/lab/scripts/reboot"

Note that a delay of 30 seconds using the Linux sleep command was also inserted between the execution of each script in the above example.

Contents

×

About CDRouter

CDRouter is made by QA Cafe, a technology company based in Portsmouth, NH.

Get in touch via our Contact page or by following us on your favorite service: