2.6.7 Defining the handling of unsupported conditional expressions (Windows only)
The following parameter is used for defining the handling when unsupported conditional expressions are executed in the test command.
-
UNSUPPORT_TEST parameter
In a Windows environment, conditional expressions for evaluating the file attributes that are listed below are not supported. If any of these conditional expressions is specified, an error will result. However, by specifying the UNSUPPORT_TEST parameter, you can display a message and handle a specified conditional expression either as an error or as a normal event. The unsupported conditional expressions are as follows:
-
-h file: Uses a symbolic link for the file.
-
-G file: Checks if the group to which the file belongs matches the group executing the calling process.
-
-L file: Uses a symbolic link for the file (same as -h).
-
-O file: Checks if the owner of the file has a valid user ID for the process.
-
file1 -ef file2: Checks if file1 and file2 exist and if the entities of file1 and file2 are the same (symbolic link targets or hard link targets are the same).