[PATCH v2 3/5] t3301: fix confusing quoting in test for valid notes ref
- From
Thomas Rast <trast@student.ethz.ch>
- Date
- Feb 14, 2009, 20:23 UTC
- Message-ID
- <2d4b5321543974ec25921102faef900e42eea1d5.1234642638.git.trast@student.ethz.ch>
- In-Reply-To
- <200902142056.42198.trast@student.ethz.ch>
The test used single quotes in the test code, but also single quotes to wrap the entire test snippet, thus effectively skipping _out_ of quoted mode. Since it doesn't matter here, just drop the quotes to cause less confusion.
Signed-off-by: Thomas Rast <trast@student.ethz.ch> Acked-by: Johannes Schindelin <Johannes.Schindelin@gmx.de> ---
Dropped the removal of MSG=2.
t/t3301-notes.sh | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/t/t3301-notes.sh b/t/t3301-notes.sh index ff4ea05..43d82a2 100755 --- a/t/t3301-notes.sh +++ b/t/t3301-notes.sh @@ -31,8 +31,8 @@ test_expect_success setup ' ' test_expect_success 'need valid notes ref' ' - ! MSG=1 GIT_NOTES_REF='/' git notes edit && - ! MSG=2 GIT_NOTES_REF='/' git notes show + ! MSG=1 GIT_NOTES_REF=/ git notes edit && + ! MSG=2 GIT_NOTES_REF=/ git notes show ' # 1 indicates caught gracefully by die, 128 means git-show barked
-- 1.6.2.rc0.296.ge2122