meta-selftest: add test for .patch file with long filename and without subject

(From OE-Core rev: 7c3e17f34c74e838990006aaf570df501aa2c167)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Martin Jansa
2020-05-30 00:03:28 +02:00
committed by Richard Purdie
parent 41c8e1b706
commit 047d3f39f5
5 changed files with 59 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
LICENSE = "CLOSED"
INHIBIT_DEFAULT_DEPS = "1"
SRC_URI = "file://${BPN}.tar.gz \
file://0001-I-ll-patch-you-only-if-devtool-lets-me-to-do-it-corr.patch"
S = "${WORKDIR}/${BPN}"
EXCLUDE_FROM_WORLD = "1"

View File

@@ -0,0 +1,7 @@
diff --git a/patch-me b/patch-me
index a20b29a..5e35d1b 100644
--- a/patch-me
+++ b/patch-me
@@ -1 +1 @@
-please
+NO

View File

@@ -0,0 +1,16 @@
From 45ba3d107ea60777a6b6e134fd00fe5009749177 Mon Sep 17 00:00:00 2001
From: Martin Jansa <Martin.Jansa@gmail.com>
Date: Thu, 28 May 2020 02:03:39 +0200
Subject: [PATCH] meta-selftest: add test for .patch file with long filename
---
patch-me | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/patch-me b/patch-me
index a20b29a..5e35d1b 100644
--- a/patch-me
+++ b/patch-me
@@ -1 +1 @@
-please
+NO