Merge remote branch 'origin/master' into topic/policy-scripts-new

This commit is contained in:
Seth Hall 2011-06-14 13:02:19 -04:00
commit 00f4751ada
46 changed files with 2168 additions and 1295 deletions

View file

@ -1,7 +1,7 @@
#
# @TEST-EXEC: BRO_SEED_FILE= bro %INPUT 2>/dev/null >out
# @TEST-EXEC: BRO_SEED_FILE= bro %INPUT 2>/dev/null >>out
# @TEST-EXEC: cat out | sort | uniq | wc -l >count
# @TEST-EXEC: cat out | sort | uniq | wc -l | sed 's/ //g' >count
# @TEST-EXEC: btest-diff count
print unique_id("A-");

View file

@ -7,7 +7,7 @@
# Without a seed, they should differ each time:
#
# @TEST-EXEC: unset BRO_SEED_FILE && bro -C -r $TRACES/wikipedia.trace %INPUT tcp >output2
# @TEST-EXEC: cat output output2 | sort | uniq -c | wc -l >counts
# @TEST-EXEC: cat output output2 | sort | uniq -c | wc -l | sed 's/ //g' >counts
# @TEST-EXEC: btest-diff counts
#
# Make sure it works without the connection compressor as well.

View file

@ -2,6 +2,6 @@
# @TEST-EXEC: echo "@load foo/test.bro" >foo/__load__.bro
# @TEST-EXEC: cp %INPUT foo/test.bro
# @TEST-EXEC: bro -l foo >output 2>&1
# @TEST-EXEC: btest-diff output
# @TEST-EXEC: TEST_DIFF_CANONIFIER=$SCRIPTS/diff-remove-abspath btest-diff output
print "Foo loaded";

View file

@ -1,5 +1,5 @@
# @TEST-EXEC-FAIL: bro %INPUT >output 2>&1
# @TEST-EXEC: btest-diff output
# @TEST-EXEC: TEST_DIFF_CANONIFIER=$SCRIPTS/diff-remove-abspath btest-diff output
type X: record {
a: count;