summaryrefslogtreecommitdiffstats
path: root/meta-selftest
diff options
context:
space:
mode:
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>2018-02-12 13:05:19 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-02-24 10:31:45 +0000
commit6bb3595ec58db98f94b95b332adb7582f9c34929 (patch)
treee2bff6fdad6a90e0f8abdf276dcd4c6b9423ba57 /meta-selftest
parentd9046f8fd88108b006bf0615d56a826552b986a2 (diff)
downloadpoky-6bb3595ec58db98f94b95b332adb7582f9c34929.tar.gz
oe-selftest: fix tests to reflect man->man-db transition
Rather than apply a patch twice, an incorrect patch is applied (as the new man-db recipe does not have any patches yet). (From OE-Core rev: a8bf4da183824caa5fceaf7546db52daa05f8662) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-selftest')
-rw-r--r--meta-selftest/recipes-test/man-db/files/0001-Test-patch-here.patch22
-rw-r--r--meta-selftest/recipes-test/man-db/man-db_%.bbappend (renamed from meta-selftest/recipes-test/man/man_1.6g.bbappend)0
-rw-r--r--meta-selftest/recipes-test/man/man/man-1.5h1-make.patch16
3 files changed, 22 insertions, 16 deletions
diff --git a/meta-selftest/recipes-test/man-db/files/0001-Test-patch-here.patch b/meta-selftest/recipes-test/man-db/files/0001-Test-patch-here.patch
new file mode 100644
index 0000000000..b1d5eab2b8
--- /dev/null
+++ b/meta-selftest/recipes-test/man-db/files/0001-Test-patch-here.patch
@@ -0,0 +1,22 @@
1From efc8831f33106e6b48de8e612c2d816fe7d1ae68 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Fri, 9 Feb 2018 17:37:48 +0200
4Subject: [PATCH] Test patch here!
5
6This is an invalid patch used by oe-selftest
7---
8 README | 1 +
9 1 file changed, 1 insertion(+)
10
11diff --git a/README b/README
12index 48fff57..26d1234 100644
13--- a/README
14+++ b/README
15@@ -1,3 +1,4 @@
16+This is a test patch for purposes of oe-selftest
17 THIS LINE MAKES THIS PATCH INVALID README for the man-db manual pager suite
18 ========================================
19
20--
212.15.1
22
diff --git a/meta-selftest/recipes-test/man/man_1.6g.bbappend b/meta-selftest/recipes-test/man-db/man-db_%.bbappend
index 205720982c..205720982c 100644
--- a/meta-selftest/recipes-test/man/man_1.6g.bbappend
+++ b/meta-selftest/recipes-test/man-db/man-db_%.bbappend
diff --git a/meta-selftest/recipes-test/man/man/man-1.5h1-make.patch b/meta-selftest/recipes-test/man/man/man-1.5h1-make.patch
deleted file mode 100644
index a0d59b78ce..0000000000
--- a/meta-selftest/recipes-test/man/man/man-1.5h1-make.patch
+++ /dev/null
@@ -1,16 +0,0 @@
1Test patch here!
2This is invalid patch used by tests in scripts/lib/selftests.
3
4--- man-1.5g/man/Makefile.in.mike Fri Apr 9 13:35:54 1999
5+++ man-1.5g/man/Makefile.in Fri Apr 9 13:36:45 1999
6@@ -1,8 +1,8 @@
7 #MAKE THIS PATCH INVALID
8 MAN1 = man whatis apropos
9-MAN5 = man.conf
10+MAN5 = man.config
11 MAN8 = makewhatis
12-ALL = man.1 whatis.1 apropos.1 man.conf.5
13+ALL = man.1 whatis.1 apropos.1 man.config.5
14 MAYBE8 = makewhatis
15
16 .SUFFIXES: .man .1 .5 .8