summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-10-27 20:07:24 +0100
committerGitHub <noreply@github.com>2020-10-27 20:07:24 +0100
commit9cf806a8b60af3b9ce5f1d8141099879c8faef69 (patch)
treed47afd878455ee447308665313ff7b8854dfedb0 /debian
parentec099db69f5841e5fff1cbe1d5f8570155946a54 (diff)
parentda8ad8fb1bbd3a162d3d17887889b0fd84f6283a (diff)
downloadvyos-1x-9cf806a8b60af3b9ce5f1d8141099879c8faef69.tar.gz
vyos-1x-9cf806a8b60af3b9ce5f1d8141099879c8faef69.zip
Merge pull request #583 from jestabro/vyos-configtest
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