[PATCH stable] tests: pass only one file at a time to tail(1)

Augie Fackler raf at durin42.com
Sun Apr 23 13:38:22 UTC 2017


# HG changeset patch
# User Augie Fackler <augie at google.com>
# Date 1492954690 14400
#      Sun Apr 23 09:38:10 2017 -0400
# Branch stable
# Node ID 6db2667e46e8831772e38639088e39932355336e
# Parent  f82cdd5ee57e468c3801cd340691e9b2497a49b2
tests: pass only one file at a time to tail(1)

It looks like the verison on Solaris only tails one file at a time.

diff --git a/tests/test-convert-hg-sink.t b/tests/test-convert-hg-sink.t
--- a/tests/test-convert-hg-sink.t
+++ b/tests/test-convert-hg-sink.t
@@ -440,15 +440,12 @@ Two way tests
   $ echo b > b/f
   $ hg -R b ci -mb
 
-  $ tail */.hg/shamap
-  ==> 0/.hg/shamap <==
+  $ tail 0/.hg/shamap
   86f3f774ffb682bffb5dc3c1d3b3da637cb9a0d6 8a028c7c77f6c7bd6d63bc3f02ca9f779eabf16a
   dd9f218eb91fb857f2a62fe023e1d64a4e7812fe 8a028c7c77f6c7bd6d63bc3f02ca9f779eabf16a
-  
-  ==> a/.hg/shamap <==
+  $ tail a/.hg/shamap
   8a028c7c77f6c7bd6d63bc3f02ca9f779eabf16a 86f3f774ffb682bffb5dc3c1d3b3da637cb9a0d6
-  
-  ==> b/.hg/shamap <==
+  $ tail b/.hg/shamap
   8a028c7c77f6c7bd6d63bc3f02ca9f779eabf16a dd9f218eb91fb857f2a62fe023e1d64a4e7812fe
 
   $ hg convert a 0


More information about the Mercurial-devel mailing list