git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stephan Beyer <s-beyer@gmx.net>
To: Brandon Casey <casey@nrlssc.navy.mil>
Cc: git@vger.kernel.org, Junio C Hamano <gitster@pobox.com>,
	Stephan Beyer <s-beyer@gmx.net>
Subject: [PATCH] Set TAR in t/Makefile and in t4116-apply-reverse.sh
Date: Fri, 25 Jul 2008 18:37:40 +0200	[thread overview]
Message-ID: <1217003860-10609-1-git-send-email-s-beyer@gmx.net> (raw)
In-Reply-To: <TE3N1FoSy-vEEv0qsAyvBwBMMq2RuJCWYw7DNLBC7mEh6PxM1LCsOw@cipher.nrlssc.navy.mil>

Hence, the test passes also when you run "make" in t/
or when you invoke t4116-apply-reverse.sh directly,
without $TAR being set.

Signed-off-by: Stephan Beyer <s-beyer@gmx.net>
---
 t/Makefile               |    2 +-
 t/t4116-apply-reverse.sh |    1 +
 2 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/t/Makefile b/t/Makefile
index 0d65ced..b720943 100644
--- a/t/Makefile
+++ b/t/Makefile
@@ -5,7 +5,7 @@
 
 #GIT_TEST_OPTS=--verbose --debug
 SHELL_PATH ?= $(SHELL)
-TAR ?= $(TAR)
+TAR ?= tar
 RM ?= rm -f
 
 # Shell quote;
diff --git a/t/t4116-apply-reverse.sh b/t/t4116-apply-reverse.sh
index 2298ece..3ff5d9e 100755
--- a/t/t4116-apply-reverse.sh
+++ b/t/t4116-apply-reverse.sh
@@ -8,6 +8,7 @@ test_description='git apply in reverse
 '
 
 . ./test-lib.sh
+TAR=${TAR:-tar}
 
 test_expect_success setup '
 
-- 
1.6.0.rc0.102.ga1791

  reply	other threads:[~2008-07-25 16:38 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <0GfECozN3g0ZvAESKMi76RyOVHEb2OhhwET9GWmEm7pbzYQJub50UlWpZtBa7MGn1UGb-7mzbzE@cipher.nrlssc.navy.mil>
2008-07-22 21:15 ` [PATCH] perl/Makefile: update NO_PERL_MAKEMAKER section Brandon Casey
2008-07-22 23:09   ` Petr Baudis
2008-07-23 16:22     ` Brandon Casey
2008-07-23 23:29   ` Junio C Hamano
2008-07-23 23:56     ` Brandon Casey
2008-07-22 21:16 ` [PATCH] t9700/test.pl: backwards compatibility improvements Brandon Casey
2008-07-23 23:33   ` Junio C Hamano
2008-07-24  0:08     ` Brandon Casey
2008-07-22 21:16 ` [PATCH] t4116-apply-reverse.sh: use $TAR rather than tar Brandon Casey
2008-07-25 16:37   ` Stephan Beyer [this message]
2008-07-25 17:05     ` [PATCH] Set TAR in t/Makefile and in t4116-apply-reverse.sh Miklos Vajna
2008-07-25 17:12       ` Stephan Beyer
2008-07-25 18:18     ` Junio C Hamano
2008-07-25 18:24       ` Stephan Beyer
2008-07-25 18:54         ` Junio C Hamano
2008-07-25 18:58           ` Stephan Beyer
2008-07-25 19:37             ` Junio C Hamano
2008-07-22 21:16 ` [PATCH] t3200,t7201: replace '!' with test_must_fail Brandon Casey
2008-07-22 21:17 ` [PATCH] t/: Replace diff [-u|-U0] with test_cmp to allow compilation with old diff Brandon Casey
2008-07-24  0:19   ` Miklos Vajna
2008-07-24  0:55     ` Brandon Casey
2008-07-22 21:21 ` [PATCH] t7502-commit.sh: rearrange test to make more portable Brandon Casey
2008-07-22 21:23 ` [PATCH] t/t4202-log.sh: add newline at end of file Brandon Casey

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=1217003860-10609-1-git-send-email-s-beyer@gmx.net \
    --to=s-beyer@gmx.net \
    --cc=casey@nrlssc.navy.mil \
    --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).