aboutsummaryrefslogtreecommitdiff
path: root/vo/votest/tests/votable_002.cl
blob: d75475eb61ca2fde024e8602759d9ce1c6b485b0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#
#  Print VOTable column information

# Set the test description string.
votest.descr = "TABLES support: Print VOTable column info"

# Convert the data$logical to a local path.
s1 = data_url // "/usno-b.xml"
s2 = "file://" // data_path // "/usno-b.xml"
s3 = "file:///localhost" // data_path // "/usno-b.xml"


fcache init

# Execute the test commands.
print ("\nLogical Path:  data$usno-b.xml")		# logical path
tlcol ("data$usno-b.xml")

print ("\nHTTP URI:  " // s1)				# remote http URI
tlcol (s1)

print ("\nFile URI:  " // s2)				# file URI
tlcol (s2)

print ("\nFile URI:  " // s3)				# file URI
tlcol (s3)