testing: Install a package via apt-get to get a second SWIMA software event
This installs tmux and its two dependencies libevent-2.0-5 and libutempter0. For the tnc/tnccs-20-ev-pt-tls test scenario older, apparently replaced versions of these packages are entered to the collector.db database, so that dummy SWID tags for these packages can be requested via SWIMA.
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
#! /bin/sh
|
||||
|
||||
cat /usr/local/share/strongswan/templates/database/sw-collector/sw_collector_tables.sql | sqlite3 /etc/db.d/collector.db
|
||||
sed -i "s:DEBIAN_VERSION:`cat /etc/debian_version`:" /etc/pts/collector.sql
|
||||
cat /etc/pts/collector.sql | sqlite3 /etc/db.d/collector.db
|
||||
LEAK_DETECTIVE_DISABLE=1 /usr/local/sbin/sw-collector
|
||||
|
||||
Reference in New Issue
Block a user