aboutsummaryrefslogtreecommitdiff
path: root/vo/votest/tests/votable_005.cl
blob: 4925d8c04e85ad6203d769650792ac58156988a7 (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 statistics

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

# 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
tstat ("data$usno-b.xml", "B1")

print ("\nHTTP URI:  " // s1)				# remote http URI
tstat (s1, "B1")

print ("\nFile URI:  " // s2)				# file URI
tstat (s2, "B1")

print ("\nFile URI:  " // s3)				# file URI
tstat (s3, "B1")