5 #######################################################################
6 # OSD_Path interprets unc paths incorrectly
7 #######################################################################
11 set BugNumber OCC23852
13 set OS_platform $tcl_platform(platform)
14 puts "OS = ${OS_platform}"
16 if { [string compare ${OS_platform} "windows"] == 0 } {
19 set OSD_Path "\\\\Server\\Shared\\Folder\\File.Extension"
20 puts "OSD_Path = ${OSD_Path}"
22 set Log [OSDPath ${OSD_Path}]
24 if { [regexp "Trek +: +\\|\\|Server\\|Shared\\|Folder" ${Log}] != 1 } {
25 puts "${BugNumber}, Trek, #1: Error"
28 if { [regexp "Name +: +File" ${Log}] != 1 } {
29 puts "${BugNumber}, Name, #1: Error"
32 if { [regexp "Extension +: +.Extension" ${Log}] != 1 } {
33 puts "${BugNumber}, Extension, #1: Error"
37 set OSD_Path "//Server/Shared/Folder/File.Extension"
38 puts "OSD_Path = ${OSD_Path}"
40 set Log [OSDPath ${OSD_Path}]
42 if { [regexp "Trek +: +||Server|Shared|Folder" ${Log}] != 1 } {
43 puts "${BugNumber}, Trek, #2: Error"
46 if { [regexp "Name +: +File" ${Log}] != 1 } {
47 puts "${BugNumber}, Name, #2: Error"
50 if { [regexp "Extension +: +.Extension" ${Log}] != 1 } {
51 puts "${BugNumber}, Extension, #2: Error"
56 if { [string compare ${OS_platform} "unix"] == 0 } {
58 set OSD_Path "//Server/Shared/Folder/File.Extension"
59 puts "OSD_Path = ${OSD_Path}"
61 set Log [OSDPath ${OSD_Path}]
63 if { [regexp "Trek +: +||Server|Shared|Folder" ${Log}] != 1 } {
64 puts "${BugNumber}, Trek: Error"
67 if { [regexp "Name +: +File" ${Log}] != 1 } {
68 puts "${BugNumber}, Name: Error"
71 if { [regexp "Extension +: +.Extension" ${Log}] != 1 } {
72 puts "${BugNumber}, Extension: Error"