about summary refs log tree commit diff
path: root/patches/e9patch-check-mode.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/e9patch-check-mode.patch')
-rw-r--r--patches/e9patch-check-mode.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/patches/e9patch-check-mode.patch b/patches/e9patch-check-mode.patch
new file mode 100644
index 0000000..ccbead2
--- /dev/null
+++ b/patches/e9patch-check-mode.patch
@@ -0,0 +1,20 @@
+From fdfec33e129efc6c08a0c532c309605c9bb09269 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Nguy=E1=BB=85n=20Gia=20Phong?= <cnx@loang.net>
+Date: Wed, 13 Nov 2024 19:55:35 +0900
+Subject: [PATCH] Set expected file mode in test to 644
+
+For real files, git only distinguish between executable or not,
+and the mode of a checked-out file is either 644 or 755.
+---
+ test/regtest/stat.exp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/test/regtest/stat.exp b/test/regtest/stat.exp
+index 9509b9a..8b78453 100644
+--- a/test/regtest/stat.exp
++++ b/test/regtest/stat.exp
+@@ -1,3 +1,3 @@
+-mode = 100664
++mode = 100644
+ size = 62
+ PASSED