Doing Escapes in a UNIX Shell

The following uses the syntax for doing escapes in a UNIX shell. Changes to the original configuration file (myconfig.jti in this example) are written to a new configuration file (my-newconfig.jti in this example).

The following text is a note
To run the following example you must replace myoriginal.jti with a .jti file name that exists on your system and only change values that are in your current interview path. To view the current interview path, open your .jti file in the Configuration Editor. Win32 users must also change "/" file separators to "\" to run these examples.

To change a value in the command line, use the tag-name for the question that sets the value. See Obtaining the Question tag-name for detailed information about viewing the tag-name for the question.

java -cp [jt_dir/lib/]javatest.jar com.sun.javatest.EditJTI -o my-newconfig.jti tck.serialport.midPort=/dev/term/a tck.connection.httpsCert="\"CN=Brian K, OU=JSW, O=Sun, L=SCA22, ST=CA, C=US\"" myoriginal.jti

A detailed description of the utility is also available in your TCK at:

doc/javatest/editJTI.html