Some tests require contextual information, such as the host name on which they are executed, before they can run. Because network file systems may be mounted differently on different systems, the path names used by the JavaTest harness may not be the same for the agent. The agent uses a map file to translate these strings into values it can use to run tests.
Example:
#Replace all /home/jjg with /jjg
Example:
/home/jjg /jjg
Because the agent uses the map file to perform global string substitution on all matching values received from the JavaTest harness, you should be as specific as possible when specifying strings in a translation line.
Refer to Troubleshooting JavaTest Agents for additional information about determining the substitution strings required in a map file.
Example of a map file:
#This is a sample map file
#Replace all /home/jjg with /jjg
/home/jjg /jjg
#Replace all /home/kasmith/javatest with /kas/javatest
/home/kasmith/javatest /kas/javatest