Patchwork D1599: tests: remove shell function helper from test-largefiles-misc

login
register
mail settings
Submitter phabricator
Date Dec. 6, 2017, 2:37 p.m.
Message ID <7b52c611f95b2357ac80199b0f3be032@localhost.localdomain>
Download mbox | patch
Permalink /patch/25968/
State Not Applicable
Headers show

Comments

phabricator - Dec. 6, 2017, 2:37 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGaac13f8eef01: tests: remove shell function helper from test-largefiles-misc (authored by durin42, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D1599?vs=4136&id=4154

REVISION DETAIL
  https://phab.mercurial-scm.org/D1599

AFFECTED FILES
  tests/test-largefiles-misc.t

CHANGE DETAILS




To: durin42, #hg-reviewers, yuja
Cc: mercurial-devel

Patch

diff --git a/tests/test-largefiles-misc.t b/tests/test-largefiles-misc.t
--- a/tests/test-largefiles-misc.t
+++ b/tests/test-largefiles-misc.t
@@ -1094,12 +1094,8 @@ 
 
 Move (and then undo) a directory move with only largefiles.
 
-  $ listtree() {
-  >   $PYTHON $TESTDIR/list-tree.py $@
-  > }
-
   $ cd subrepo-root
-  $ listtree .hglf dir* large*
+  $ $PYTHON $TESTDIR/list-tree.py .hglf dir* large*
   .hglf/
   .hglf/dir/
   .hglf/dir/subdir/
@@ -1114,7 +1110,7 @@ 
   $ hg mv dir/subdir dir/subdir2
   moving .hglf/dir/subdir/large.bin to .hglf/dir/subdir2/large.bin (glob)
 
-  $ listtree .hglf dir* large*
+  $ $PYTHON $TESTDIR/list-tree.py .hglf dir* large*
   .hglf/
   .hglf/dir/
   .hglf/dir/subdir2/
@@ -1154,7 +1150,7 @@ 
 
 The standin for subdir2 should be deleted, not just dropped
 
-  $ listtree .hglf dir* large*
+  $ $PYTHON $TESTDIR/list-tree.py .hglf dir* large*
   .hglf/
   .hglf/dir/
   .hglf/dir/subdir/
@@ -1181,7 +1177,7 @@ 
   R dir/subdir/large.bin
   ? large.orig
 
-  $ listtree .hglf dir* large*
+  $ $PYTHON $TESTDIR/list-tree.py .hglf dir* large*
   .hglf/
   .hglf/dir/
   .hglf/dir/subdir2/
@@ -1206,7 +1202,7 @@ 
     dir/subdir/large.bin
   R dir/subdir/large.bin
 
-  $ listtree .hglf dir* large*
+  $ $PYTHON $TESTDIR/list-tree.py .hglf dir* large*
   .hglf/
   .hglf/dir2/
   .hglf/dir2/subdir/
@@ -1225,7 +1221,7 @@ 
   $ hg status -C
   ? dir2/subdir/large.bin
 
-  $ listtree .hglf dir* large*
+  $ $PYTHON $TESTDIR/list-tree.py .hglf dir* large*
   .hglf/
   .hglf/dir/
   .hglf/dir/subdir/