summaryrefslogtreecommitdiffstats
path: root/recipes-containers/lxc/files/tests-add-no-validate-when-using-download-template.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-containers/lxc/files/tests-add-no-validate-when-using-download-template.patch')
-rw-r--r--recipes-containers/lxc/files/tests-add-no-validate-when-using-download-template.patch12
1 files changed, 5 insertions, 7 deletions
diff --git a/recipes-containers/lxc/files/tests-add-no-validate-when-using-download-template.patch b/recipes-containers/lxc/files/tests-add-no-validate-when-using-download-template.patch
index 81fd15d6..abddef6e 100644
--- a/recipes-containers/lxc/files/tests-add-no-validate-when-using-download-template.patch
+++ b/recipes-containers/lxc/files/tests-add-no-validate-when-using-download-template.patch
@@ -1,4 +1,4 @@
1From 0dad69a3bd306cc701c8bd4df4ea47f0ec5f9150 Mon Sep 17 00:00:00 2001 1From 1b334bdaf598600314a678509a702728721001a2 Mon Sep 17 00:00:00 2001
2From: Mark Asselstine <mark.asselstine@windriver.com> 2From: Mark Asselstine <mark.asselstine@windriver.com>
3Date: Thu, 31 May 2018 15:14:26 -0400 3Date: Thu, 31 May 2018 15:14:26 -0400
4Subject: [PATCH] tests: add '--no-validate' when using download template 4Subject: [PATCH] tests: add '--no-validate' when using download template
@@ -9,6 +9,7 @@ interest to this test at any rate so simply add '--no-validate' to
9avoid failing due to no GPG validation. 9avoid failing due to no GPG validation.
10 10
11Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> 11Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
12
12--- 13---
13 src/tests/lxc-test-apparmor-mount | 2 +- 14 src/tests/lxc-test-apparmor-mount | 2 +-
14 src/tests/lxc-test-autostart | 2 +- 15 src/tests/lxc-test-autostart | 2 +-
@@ -18,10 +19,10 @@ Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
18 5 files changed, 5 insertions(+), 5 deletions(-) 19 5 files changed, 5 insertions(+), 5 deletions(-)
19 20
20diff --git a/src/tests/lxc-test-apparmor-mount b/src/tests/lxc-test-apparmor-mount 21diff --git a/src/tests/lxc-test-apparmor-mount b/src/tests/lxc-test-apparmor-mount
21index ddcee8a..d3d2c49 100755 22index 56d598f..573cff8 100755
22--- a/src/tests/lxc-test-apparmor-mount 23--- a/src/tests/lxc-test-apparmor-mount
23+++ b/src/tests/lxc-test-apparmor-mount 24+++ b/src/tests/lxc-test-apparmor-mount
24@@ -157,7 +157,7 @@ if [ -f /etc/lsb-release ]; then 25@@ -169,7 +169,7 @@ if [ -f /etc/lsb-release ]; then
25 done 26 done
26 fi 27 fi
27 28
@@ -29,7 +30,7 @@ index ddcee8a..d3d2c49 100755
29+run_cmd lxc-create -t download -n $cname -- --no-validate -d ubuntu -r $release -a $ARCH 30+run_cmd lxc-create -t download -n $cname -- --no-validate -d ubuntu -r $release -a $ARCH
30 31
31 echo "test default confined container" 32 echo "test default confined container"
32 run_cmd lxc-start -n $cname -d 33 run_cmd lxc-start -n $cname -d -lDEBUG -o "$logfile"
33diff --git a/src/tests/lxc-test-autostart b/src/tests/lxc-test-autostart 34diff --git a/src/tests/lxc-test-autostart b/src/tests/lxc-test-autostart
34index e5b651b..d15b79b 100755 35index e5b651b..d15b79b 100755
35--- a/src/tests/lxc-test-autostart 36--- a/src/tests/lxc-test-autostart
@@ -82,6 +83,3 @@ index 3e35008..f489286 100755
82 run_cmd "lxc-start -n b1 -d" 83 run_cmd "lxc-start -n b1 -d"
83 p1=$(run_cmd "lxc-info -n b1 -p -H") 84 p1=$(run_cmd "lxc-info -n b1 -p -H")
84 85
85--
862.7.4
87