diff options
Diffstat (limited to 'meta/recipes-connectivity/openssl/openssl/0001-Remove-test-that-requires-running-as-non-root.patch')
-rw-r--r-- | meta/recipes-connectivity/openssl/openssl/0001-Remove-test-that-requires-running-as-non-root.patch | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/meta/recipes-connectivity/openssl/openssl/0001-Remove-test-that-requires-running-as-non-root.patch b/meta/recipes-connectivity/openssl/openssl/0001-Remove-test-that-requires-running-as-non-root.patch deleted file mode 100644 index 736bb39acd..0000000000 --- a/meta/recipes-connectivity/openssl/openssl/0001-Remove-test-that-requires-running-as-non-root.patch +++ /dev/null | |||
@@ -1,49 +0,0 @@ | |||
1 | From 3fdb1e2a16ea405c6731447a8994f222808ef7e6 Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | ||
3 | Date: Fri, 7 Apr 2017 18:01:52 +0300 | ||
4 | Subject: [PATCH] Remove test that requires running as non-root | ||
5 | |||
6 | Upstream-Status: Inappropriate [oe-core specific] | ||
7 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | ||
8 | --- | ||
9 | test/recipes/40-test_rehash.t | 17 +---------------- | ||
10 | 1 file changed, 1 insertion(+), 16 deletions(-) | ||
11 | |||
12 | diff --git a/test/recipes/40-test_rehash.t b/test/recipes/40-test_rehash.t | ||
13 | index f902c23..c7567c1 100644 | ||
14 | --- a/test/recipes/40-test_rehash.t | ||
15 | +++ b/test/recipes/40-test_rehash.t | ||
16 | @@ -23,7 +23,7 @@ setup("test_rehash"); | ||
17 | plan skip_all => "test_rehash is not available on this platform" | ||
18 | unless run(app(["openssl", "rehash", "-help"])); | ||
19 | |||
20 | -plan tests => 5; | ||
21 | +plan tests => 3; | ||
22 | |||
23 | indir "rehash.$$" => sub { | ||
24 | prepare(); | ||
25 | @@ -42,21 +42,6 @@ indir "rehash.$$" => sub { | ||
26 | 'Testing rehash operations on empty directory'); | ||
27 | }, create => 1, cleanup => 1; | ||
28 | |||
29 | -indir "rehash.$$" => sub { | ||
30 | - prepare(); | ||
31 | - chmod 0500, curdir(); | ||
32 | - SKIP: { | ||
33 | - if (!ok(!open(FOO, ">unwritable.txt"), | ||
34 | - "Testing that we aren't running as a privileged user, such as root")) { | ||
35 | - close FOO; | ||
36 | - skip "It's pointless to run the next test as root", 1; | ||
37 | - } | ||
38 | - isnt(run(app(["openssl", "rehash", curdir()])), 1, | ||
39 | - 'Testing rehash operations on readonly directory'); | ||
40 | - } | ||
41 | - chmod 0700, curdir(); # make it writable again, so cleanup works | ||
42 | -}, create => 1, cleanup => 1; | ||
43 | - | ||
44 | sub prepare { | ||
45 | my @pemsourcefiles = sort glob(srctop_file('test', "*.pem")); | ||
46 | my @destfiles = (); | ||
47 | -- | ||
48 | 2.11.0 | ||
49 | |||