tcl-hacks

Check-in [31835ea8b4]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:inclusion demo for configtcl
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:31835ea8b4c615018bf4c40f0903cb4edf7e451b
User & Date: aspect 2018-05-03 12:43:49
Context
2018-05-03
12:46
add socks tamper tool check-in: 23cb074f5b user: aspect tags: trunk
12:43
inclusion demo for configtcl check-in: 31835ea8b4 user: aspect tags: trunk
12:30
fixture: a WIP hierarchical test runner check-in: 795760bfe1 user: aspect tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Added hacks/test-include.conf.

































































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
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
27
28
29
30
31
32
Frob {
    nicate yes
    bozzle no
}

Path /left {
    do this
    dont that
}

# this would error, since Path /left is already defined
#Path /left {
#    again ?
#}

Path /right {
    do that
    cache everything 1day
}

# Conditionals!
if {1} {
    Debug yes
}

# Loops!
foreach number {one two three} {
    Flag $number present
}

# but the last command needs to return a result, so we can't end with   
Yes now

Changes to hacks/test.conf.

21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
                Cert blah
                Key blah
            }
        }
     
        #Location /blah {}  ;# ERROR!

        Include lala.conf
     
        SSLServer {
            Chain blah
            Cert blah
            Key blah
            UseOCSPStapling yes|no
            ClientCert {
                CA blah
                CRL blah
                OCSPServer blah
            }
        }
    } 







|













21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
                Cert blah
                Key blah
            }
        }
     
        #Location /blah {}  ;# ERROR!

        Include test-include.conf
     
        SSLServer {
            Chain blah
            Cert blah
            Key blah
            UseOCSPStapling yes|no
            ClientCert {
                CA blah
                CRL blah
                OCSPServer blah
            }
        }
    }