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:
committed by
Jan Kiszka
parent
81c5beedaa
commit
acc60f4f3a
15
tests/test_patch/patches/hello/quilt/003.patch
Normal file
15
tests/test_patch/patches/hello/quilt/003.patch
Normal file
@@ -0,0 +1,15 @@
|
||||
# HG changeset patch
|
||||
# User kas <kas@example.com>
|
||||
# Date 1568977454 -7200
|
||||
# Fri Sep 20 13:04:14 2019 +0200
|
||||
# Node ID b8fc0927f880cc0ef6b79ba6ee470f7504d68466
|
||||
# Parent 66ff34c19e817cf518ebbd53bef4a992d669e68e
|
||||
msg
|
||||
|
||||
diff --git a/hello.sh b/hello.sh
|
||||
new file mode 100755
|
||||
--- /dev/null
|
||||
+++ b/hello.sh
|
||||
@@ -0,0 +1,2 @@
|
||||
+#!/bin/sh
|
||||
+echo Hello World!
|
@@ -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
|
||||
|
Reference in New Issue
Block a user