1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/bin/sh
# The next line is executed by /bin/sh, but not tcl \
exec tclsh8.3 "$0" ${1+"$@"}
package require tls
set dir [file join [file dirname [info script]] ../tests/certs]
set OPTS(-cafile) [file join $dir cacert.pem]
set OPTS(-cert) [file join $dir client.pem]
set OPTS(-key) [file join $dir ckey.pem]
set OPTS(-host) localhost
set OPTS(-port) 2468
set OPTS(-debug) 1
set OPTS(-count) 8
set OPTS(-parallel) 1
foreach {key val} $argv {
if {![info exists OPTS($key)]} {
|
|
|
|
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/bin/sh
# The next line is executed by /bin/sh, but not tcl \
exec tclsh8.3 "$0" ${1+"$@"}
package require tls
set dir [file join [file dirname [info script]] ../tests/certs]
set OPTS(-cafile) [file join $dir ca.pem]
set OPTS(-cert) [file join $dir client.pem]
set OPTS(-key) [file join $dir client.key]
set OPTS(-host) lorax
set OPTS(-port) 2468
set OPTS(-debug) 1
set OPTS(-count) 8
set OPTS(-parallel) 1
foreach {key val} $argv {
if {![info exists OPTS($key)]} {
|