summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2020-10-21 17:47:33 -0500
committerJohn Estabrook <jestabro@vyos.io>2020-10-26 19:48:41 -0500
commitda8ad8fb1bbd3a162d3d17887889b0fd84f6283a (patch)
treedae45db44fa52d8158267d9e8f55aa42fa1bfac9 /debian
parent44c57a59f24b32a384bdf42c3097882f6c32169e (diff)
downloadvyos-1x-da8ad8fb1bbd3a162d3d17887889b0fd84f6283a.tar.gz
vyos-1x-da8ad8fb1bbd3a162d3d17887889b0fd84f6283a.zip
smoketest: T3003: extend framework to load arbitrary config file
Diffstat (limited to 'debian')
-rwxr-xr-xdebian/rules4
-rw-r--r--debian/vyos-1x-smoketest.install2
2 files changed, 6 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index 6b982fd8e..a0cc7a99b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -97,6 +97,10 @@ override_dh_auto_install:
mkdir -p $(DIR)/$(VYOS_LIBEXEC_DIR)/tests/smoke/
cp -r smoketest/scripts/* $(DIR)/$(VYOS_LIBEXEC_DIR)/tests/smoke
+ # Install smoke test configs
+ mkdir -p $(DIR)/$(VYOS_LIBEXEC_DIR)/tests/config/
+ cp -r smoketest/configs/* $(DIR)/$(VYOS_LIBEXEC_DIR)/tests/config
+
# Install system programs
mkdir -p $(DIR)/$(VYOS_BIN_DIR)
cp -r smoketest/bin/* $(DIR)/$(VYOS_BIN_DIR)
diff --git a/debian/vyos-1x-smoketest.install b/debian/vyos-1x-smoketest.install
index fdf949557..3739763b9 100644
--- a/debian/vyos-1x-smoketest.install
+++ b/debian/vyos-1x-smoketest.install
@@ -1,2 +1,4 @@
usr/bin/vyos-smoketest
+usr/bin/vyos-configtest
usr/libexec/vyos/tests/smoke
+usr/libexec/vyos/tests/config