Patchwork [1,of,7,main-line-of-work] test-hup: use ls instead of echo

login
register
mail settings
Submitter Pierre-Yves David
Date Nov. 11, 2014, 5:35 p.m.
Message ID <24a121a4798948ed7eaa.1415727308@marginatus.alto.octopoid.net>
Download mbox | patch
Permalink /patch/6675/
State Accepted
Commit 581d3bc03aadaf86121ce220480f64721ee08466
Headers show

Comments

Pierre-Yves David - Nov. 11, 2014, 5:35 p.m.
# HG changeset patch
# User Pierre-Yves David <pierre-yves.david@fb.com>
# Date 1415150620 0
#      Wed Nov 05 01:23:40 2014 +0000
# Node ID 24a121a4798948ed7eaa1bd3a730ad5c165ec4f0
# Parent  8d84b7a2dd911812f06594ed185b405b2fdc05a3
test-hup: use ls instead of echo

Having one file entry per line makes it easier to analyse diffs.

Patch

diff --git a/tests/test-hup.t b/tests/test-hup.t
--- a/tests/test-hup.t
+++ b/tests/test-hup.t
@@ -32,7 +32,16 @@  Do test while holding fifo open
   adding changesets
   transaction abort!
   rollback completed
   killed!
 
-  $ echo .hg/* .hg/store/*
-  .hg/00changelog.i .hg/journal.bookmarks .hg/journal.branch .hg/journal.desc .hg/journal.dirstate .hg/requires .hg/store .hg/store/00changelog.i .hg/store/00changelog.i.a .hg/store/journal.phaseroots
+  $ ls -1d .hg/* .hg/store/*
+  .hg/00changelog.i
+  .hg/journal.bookmarks
+  .hg/journal.branch
+  .hg/journal.desc
+  .hg/journal.dirstate
+  .hg/requires
+  .hg/store
+  .hg/store/00changelog.i
+  .hg/store/00changelog.i.a
+  .hg/store/journal.phaseroots