1 # test for command getsource
3 # check that path returned for command pload is as expected
4 if { [array get env os_type] != "" } {
8 if { [string compare $os "windows"] == 0 } {
9 set expected src/Draw/Draw_PloadCommands.cxx
11 set expected /src/Draw/Draw_PloadCommands.cxx
13 set path [lindex [getsourcefile pload] 1]
14 if { [string compare $path $expected] } {
15 puts "Error: command 'getsourcefile pload' returned '$path' while expected '$expected'"