5 #######################################################################
6 # OSD_Path interprets unc paths incorrectly
7 #######################################################################
11 set BugNumber OCC23852
13 if { [checkplatform -windows] } {
16 set OSD_Path "\\\\Server\\Shared\\Folder\\File.Extension"
17 puts "OSD_Path = ${OSD_Path}"
19 set Log [OSDPath ${OSD_Path}]
21 if { [regexp "Trek +: +\\|\\|Server\\|Shared\\|Folder" ${Log}] != 1 } {
22 puts "${BugNumber}, Trek, #1: Error"
25 if { [regexp "Name +: +File" ${Log}] != 1 } {
26 puts "${BugNumber}, Name, #1: Error"
29 if { [regexp "Extension +: +.Extension" ${Log}] != 1 } {
30 puts "${BugNumber}, Extension, #1: Error"
34 set OSD_Path "//Server/Shared/Folder/File.Extension"
35 puts "OSD_Path = ${OSD_Path}"
37 set Log [OSDPath ${OSD_Path}]
39 if { [regexp "Trek +: +||Server|Shared|Folder" ${Log}] != 1 } {
40 puts "${BugNumber}, Trek, #2: Error"
43 if { [regexp "Name +: +File" ${Log}] != 1 } {
44 puts "${BugNumber}, Name, #2: Error"
47 if { [regexp "Extension +: +.Extension" ${Log}] != 1 } {
48 puts "${BugNumber}, Extension, #2: Error"
53 set OSD_Path "//Server/Shared/Folder/File.Extension"
54 puts "OSD_Path = ${OSD_Path}"
56 set Log [OSDPath ${OSD_Path}]
58 if { [regexp "Trek +: +||Server|Shared|Folder" ${Log}] != 1 } {
59 puts "${BugNumber}, Trek: Error"
62 if { [regexp "Name +: +File" ${Log}] != 1 } {
63 puts "${BugNumber}, Name: Error"
66 if { [regexp "Extension +: +.Extension" ${Log}] != 1 } {
67 puts "${BugNumber}, Extension: Error"