mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Polishing the setup for external tests.
This commit is contained in:
parent
27aa30c683
commit
80fcabdb47
9 changed files with 15 additions and 9 deletions
7
testing/external/scripts/create-new-repo
vendored
7
testing/external/scripts/create-new-repo
vendored
|
@ -27,14 +27,15 @@ git clone $repo $name
|
|||
|
||||
cd $name
|
||||
|
||||
for dir in traces tests Baseline; do
|
||||
for dir in Traces Tests Baseline; do
|
||||
mkdir $dir
|
||||
touch $dir/.gitignore
|
||||
done
|
||||
|
||||
ln -s ../btest.cfg .
|
||||
ln -s ../subdir-btest.cfg ./btest.cfg
|
||||
|
||||
cp $cwd/`dirname $0`/test.skeleton tests
|
||||
cp $cwd/`dirname $0`/files/test.skeleton tests
|
||||
cp $cwd/`dirname $0`/files/Makefile .
|
||||
|
||||
git add *
|
||||
|
||||
|
|
3
testing/external/scripts/files/Makefile
vendored
Normal file
3
testing/external/scripts/files/Makefile
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
|
||||
all:
|
||||
@btest
|
|
@ -1,2 +1,2 @@
|
|||
@TEST-EXEC: bro -r $TRACES/trace.pcap mt
|
||||
@TEST-EXEC: bro -r $TRACES/test.trace test-all
|
||||
@TEST-EXEC: for i in *.log; do btest-diff $i; done
|
Loading…
Add table
Add a link
Reference in a new issue