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@xxxxxxxxxxxxxxx> Acked-by: Johannes Schindelin <Johannes.Schindelin@xxxxxx> --- 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 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html