- Modified some small issues, made the protocol list static, and allowed

"comment lines" starting with '#' in the test script.
This commit is contained in:
ccremers 2004-12-17 15:54:48 +00:00
parent 93ab6a29f4
commit 2d978f3232
2 changed files with 52 additions and 3 deletions

View File

@ -7,7 +7,8 @@
# Input of this script: # Input of this script:
# #
# - A number on the commandline of stuff to test # - A number on the commandline of stuff to test
# - A list of files on stdin to be used # - A list of files on stdin to be used (lines starting with '#' are
# ignored)
# #
# #
# Tips and tricks: # Tips and tricks:
@ -36,7 +37,7 @@ ScytherProgram = "../src/scyther"
# Scyther parameters # Scyther parameters
ScytherDefaults = "--summary" ScytherDefaults = "--summary"
ScytherMethods = "-m1 -a" ScytherMethods = "-m1 -a"
ScytherBounds = "-r4 -l40" ScytherBounds = "-r4 --max-depth=20 -l15"
# Build a large part of the command line (for Scyther) already # Build a large part of the command line (for Scyther) already
ScytherArgs = ScytherDefaults + " " + ScytherMethods + " " + ScytherBounds ScytherArgs = ScytherDefaults + " " + ScytherMethods + " " + ScytherBounds
@ -316,7 +317,7 @@ while loop:
if line != '': if line != '':
# not the end of the input # not the end of the input
cleanline = string.strip(line) cleanline = string.strip(line)
if cleanline != '' and cleanline not in SkipList: if cleanline != '' and cleanline[0] != '#' and cleanline not in SkipList:
# not a blank line, not forbidden # not a blank line, not forbidden
Protocol.append(cleanline) Protocol.append(cleanline)
ProtocolCount = ProtocolCount + 1 ProtocolCount = ProtocolCount + 1

48
spdl/protocol-list.txt Normal file
View File

@ -0,0 +1,48 @@
# List of protocols to test
#
andrew-ban.spdl
andrew-lowe-ban.spdl
bke-broken.spdl
bke-one.spdl
bkepk-ce2.spdl
bkepk-ce.spdl
bkepk.spdl
bke.spdl
boyd.spdl
broken1.spdl
carkey-broken-limited.spdl
carkey-broken.spdl
carkey-ni2.spdl
carkey-ni.spdl
ccitt509-ban.spdl
five-run-bound.spdl
#gong-nonce-b.spdl
#gong-nonce.spdl
helloworld.spdl
isoiec11770-2-13.spdl
#kaochow-palm.spdl
kaochow.spdl
ns3-brutus.spdl
ns3.spdl
nsl3-nisynch-rep.spdl
nsl3.spdl
nsl7.spdl
onetrace.spdl
otwayrees.spdl
samasc-broken.spdl
simplest.spdl
soph-keyexch.spdl
soph.spdl
speedtest.spdl
splice-as-hc-cj.spdl
#splice-as-hc.spdl
splice-as.spdl
tls-paulson.spdl
tmn.spdl
unknown2.spdl
wmf-brutus.spdl
woolam-ce.spdl
woolam-cmv.spdl
yahalom-ban.spdl
yahalom-lowe.spdl
yahalom.spdl