git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] Disable filemode rebase tests in t3400-rebase.sh if no filesystem mode support

From
Alex Riesen <raa.lkml@gmail.com>
Date
Feb 11, 2009, 09:51 UTC
Message-ID
<81b0412b0902110151x35fbbb4esb9efefae2e1fe90a@mail.gmail.com>
Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
---

I'm honestly sorry for my contributions. They seem to be exclusively in the "make Git work in Windows" area. Depressing.

 t/t3400-rebase.sh |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
From f41b99bbdf10249c0dfcb54545709f0a8dd00484 Mon Sep 17 00:00:00 2001
From: Alex Riesen <raa.lkml@gmail.com>
Date: Wed, 11 Feb 2009 10:45:43 +0100
Subject: [PATCH] Disable filemode rebase tests in t3400-rebase.sh if no filesystem mode support
Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
---
 t/t3400-rebase.sh |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/t/t3400-rebase.sh b/t/t3400-rebase.sh
index 8c0c5f5..a229276 100755
--- a/t/t3400-rebase.sh
+++ b/t/t3400-rebase.sh
@@ -70,6 +70,10 @@ test_expect_success \
      test 3 = $(git rev-list master.. | wc -l)
 '
 
+if test "$(git config --bool core.filemode)" = false
+then
+    say 'skipping rebase filemode tests (no filesystem support)'
+else
 test_expect_success 'rebase a single mode change' '
      git checkout master &&
      echo 1 > X &&
@@ -94,5 +98,6 @@ test_expect_success 'Show verbose error when HEAD could not be detached' '
      test_must_fail git rebase topic 2> output.err > output.out &&
      grep "Untracked working tree file .B. would be overwritten" output.err
 '
+fi
 
 test_done
-- 
1.6.2.rc0.28.g1f0fe8
Next: Junio C Hamano
Message 1 of 6 in “Disable filemode rebase tests in t3400-rebase.sh if no filesystem mode support”
  1. Disable filemode rebase tests in t3400-rebase.sh if no filesystem mode supportAlex Riesen, Feb 11, 2009
  2. Junio C HamanoFeb 11, 2009
  3. Alex RiesenFeb 11, 2009
  4. Johannes SixtFeb 11, 2009
  5. Alex RiesenFeb 11, 2009
  6. Johannes SixtFeb 11, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.