aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests/tnc/tnccs-20-pts-no-ecc/hosts/moon
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2014-10-07 12:01:05 +0200
committerTobias Brunner <tobias@strongswan.org>2014-10-07 12:18:25 +0200
commit8f9016b1e21beea947479de812541f32c60c4159 (patch)
tree7cd02120caf82c12a67b4bb4bdc0718206691986 /testing/tests/tnc/tnccs-20-pts-no-ecc/hosts/moon
parent93fac61da535d9329e37567cc8d07bd5305020a5 (diff)
downloadstrongswan-8f9016b1e21beea947479de812541f32c60c4159.tar.bz2
strongswan-8f9016b1e21beea947479de812541f32c60c4159.tar.xz
testing: Make TNC scenarios agnostic to the actual Debian version
The scenarios will work with new or old base images as long as the version in use is included as product in the master data (src/libimcv/imv/data.sql).
Diffstat (limited to 'testing/tests/tnc/tnccs-20-pts-no-ecc/hosts/moon')
-rw-r--r--testing/tests/tnc/tnccs-20-pts-no-ecc/hosts/moon/etc/pts/data1.sql8
1 files changed, 4 insertions, 4 deletions
diff --git a/testing/tests/tnc/tnccs-20-pts-no-ecc/hosts/moon/etc/pts/data1.sql b/testing/tests/tnc/tnccs-20-pts-no-ecc/hosts/moon/etc/pts/data1.sql
index 8b36df5e3..d87b5e7f9 100644
--- a/testing/tests/tnc/tnccs-20-pts-no-ecc/hosts/moon/etc/pts/data1.sql
+++ b/testing/tests/tnc/tnccs-20-pts-no-ecc/hosts/moon/etc/pts/data1.sql
@@ -1,10 +1,10 @@
/* Devices */
INSERT INTO devices ( /* 1 */
- value, product, created
-) VALUES (
- 'aabbccddeeff11223344556677889900', 42, 1372330615
-);
+ value, product, created
+)
+SELECT 'aabbccddeeff11223344556677889900', id, 1372330615
+FROM products WHERE name = 'Debian DEBIAN_VERSION x86_64';
/* Groups Members */