changeset 534:336c031a0484

tests: remove piping of command git init from test-subrepos This change was already applied to all the other tests.
author David M. Carr <david@carrclan.us>
date Fri, 14 Sep 2012 19:10:05 -0400
parents a6989fabe86d
children 878ae1d1bd73
files tests/test-subrepos.t
diffstat 1 files changed, 4 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-subrepos.t	Fri Sep 14 19:09:42 2012 -0400
+++ b/tests/test-subrepos.t	Fri Sep 14 19:10:05 2012 -0400
@@ -35,9 +35,8 @@
 
   $ mkdir gitsubrepo
   $ cd gitsubrepo
-  $ git init | python -c "import sys; print sys.stdin.read().replace('$(dirname $(pwd))/', '')"
-  Initialized empty Git repository in gitsubrepo/.git/
-  
+  $ git init
+  Initialized empty Git repository in $TESTTMP/gitsubrepo/.git/
   $ echo beta > beta
   $ git add beta
   $ gitcommit -m 'add beta'
@@ -45,9 +44,8 @@
 
   $ mkdir gitrepo1
   $ cd gitrepo1
-  $ git init | python -c "import sys; print sys.stdin.read().replace('$(dirname $(pwd))/', '')"
-  Initialized empty Git repository in gitrepo1/.git/
-  
+  $ git init
+  Initialized empty Git repository in $TESTTMP/gitrepo1/.git/
   $ echo alpha > alpha
   $ git add alpha
   $ gitcommit -m 'add alpha'