tests: make sure patches can create executables

Create a 755 file in a git and an hg repo, using a patch. Later make
sure the permissions are as expected.

Signed-off-by: Henning Schild <henning.schild@siemens.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
This commit is contained in:
Henning Schild
2019-09-20 18:11:45 +02:00
committed by Jan Kiszka
parent 81c5beedaa
commit acc60f4f3a
5 changed files with 41 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
From b401ea2143d6e214a74f100c1d86b57ee3aaed26 Mon Sep 17 00:00:00 2001
From: kas <kas@example.com>
Date: Fri, 20 Sep 2019 10:33:07 +0200
Subject: [PATCH] test
---
tests/test_patch/hello.sh | 2 ++
1 file changed, 2 insertions(+)
create mode 100755 tests/test_patch/hello.sh
diff --git a/tests/test_patch/hello.sh b/tests/test_patch/hello.sh
new file mode 100755
index 0000000..c100654
--- /dev/null
+++ b/tests/test_patch/hello.sh
@@ -0,0 +1,2 @@
+#!/bin/sh
+echo Hello World!
--
2.21.0

View File

@@ -2,3 +2,4 @@
# this is a revert of the other 001 we applied without quilt
001.patch # first patch
002.patch
003.patch # introduce an executable