Patchwork [1,of,3] test-obsolete-bundle-strip: do not include \n in filename (issue5586)

login
register
mail settings
Submitter Yuya Nishihara
Date June 5, 2017, 3:23 p.m.
Message ID <b3249cb334af076bf978.1496676208@mimosa>
Download mbox | patch
Permalink /patch/21207/
State Accepted
Headers show

Comments

Yuya Nishihara - June 5, 2017, 3:23 p.m.
# HG changeset patch
# User Yuya Nishihara <yuya@tcha.org>
# Date 1496672583 -32400
#      Mon Jun 05 23:23:03 2017 +0900
# Node ID b3249cb334af076bf9787ac16ff92a2bb8e8567e
# Parent  fc9296c15112af247e4985cdc45fbbf7d8eed175
test-obsolete-bundle-strip: do not include \n in filename (issue5586)

Patch

diff --git a/tests/test-obsolete-bundle-strip.t b/tests/test-obsolete-bundle-strip.t
--- a/tests/test-obsolete-bundle-strip.t
+++ b/tests/test-obsolete-bundle-strip.t
@@ -52,7 +52,7 @@  obsmarkers. It also check the obsmarkers
   $ testrevs () {
   >     revs="$1"
   >     testname=`basename \`pwd\``
-  >     revsname=`hg --hidden log -T '-{desc}\n' --rev "${revs}"`
+  >     revsname=`hg --hidden log -T '-{desc}' --rev "${revs}"`
   >     prefix="${TESTTMP}/${testname}${revsname}"
   >     markersfile="${prefix}-relevant-markers.txt"
   >     exclufile="${prefix}-exclusive-markers.txt"