Source Command

Overview

Loads and executes external script files. You can find the description of the Turbo Tester Script File in Appendix.

syntax:source name [args ...]
description:   The shell reads and executes commands from file name. The commands are placed to the history list. If name is not found in the path it may include, environment variable 'PATH' is searched to find the name part (no folder information) in the directories. If any args are given, they are placed in [argv]. source commands may be nested; if they are nested too deeply the shell mey run out of file desriptors. An error in a source at any level terminates all nested source commands.

Return status is the status of the last command exited within the script (0 if no commands are executed and 1 if name is not found.
arguments: name name represent the name of an environment variable
args args represents the values which will be passed as additional arguments to the script.
options: (none)

Error Conditions

No Error Conditions defined

Return Codes

0Success
any otherError

Where to go next?

Copyright © 1999 Design & Test Center