git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Alex Riesen <raa.lkml@gmail.com>
To: Git Mailing List <git@vger.kernel.org>
Cc: Johannes Schindelin <Johannes.Schindelin@gmx.de>,
	Junio C Hamano <gitster@pobox.com>
Subject: [PATCH] Disable filemode rebase tests in t3400-rebase.sh if no  filesystem mode support
Date: Wed, 11 Feb 2009 10:51:30 +0100	[thread overview]
Message-ID: <81b0412b0902110151x35fbbb4esb9efefae2e1fe90a@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 258 bytes --]

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(-)

[-- Attachment #2: 0001-Disable-filemode-rebase-tests-in-t3400-rebase.sh-if-n.diff --]
[-- Type: application/octet-stream, Size: 1121 bytes --]

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


             reply	other threads:[~2009-02-11  9:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-11  9:51 Alex Riesen [this message]
2009-02-11 10:09 ` [PATCH] Disable filemode rebase tests in t3400-rebase.sh if no filesystem mode support Junio C Hamano
2009-02-11 11:05   ` Alex Riesen
2009-02-11 10:09 ` Johannes Sixt
2009-02-11 10:53   ` Alex Riesen
2009-02-11 11:30     ` Johannes Sixt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=81b0412b0902110151x35fbbb4esb9efefae2e1fe90a@mail.gmail.com \
    --to=raa.lkml@gmail.com \
    --cc=Johannes.Schindelin@gmx.de \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).