diff tests/test-rebase-parameters @ 6939:40cacb049ef6

Fix wrong redirection in test-rebase-parameters
author Stefano Tortarolo <stefano.tortarolo@gmail.com>
date Wed, 27 Aug 2008 12:49:39 +0200
parents 93609576244e
children 204c7850c158
line wrap: on
line diff
--- a/tests/test-rebase-parameters	Mon Aug 25 23:04:56 2008 +0200
+++ b/tests/test-rebase-parameters	Wed Aug 27 12:49:39 2008 +0200
@@ -30,7 +30,7 @@
     addcommit "r2" 7
 }
 
-createrepo > /dev/null 2&>1
+createrepo > /dev/null 2>&1
 echo "% These fail"
 echo
 echo "% Use continue and abort"
@@ -64,40 +64,40 @@
 hg update -C 5
 hg rebase 2>&1 | sed 's/\(saving bundle to \).*/\1/'
 
-createrepo > /dev/null 2&>1
+createrepo > /dev/null 2>&1
 echo
 echo "% Rebase with base == '.' => same as no arguments (from 3 onto 7)"
 hg update -C 5
 hg rebase --base . 2>&1 | sed 's/\(saving bundle to \).*/\1/'
 
-createrepo > /dev/null 2&>1
+createrepo > /dev/null 2>&1
 echo
 echo "% Rebase with dest == `hg branch` => same as no arguments (from 3 onto 7)"
 hg update -C 5
 hg rebase --dest `hg branch` 2>&1 | sed 's/\(saving bundle to \).*/\1/'
 
-createrepo > /dev/null 2&>1
+createrepo > /dev/null 2>&1
 echo
 echo "% Specify only source (from 4 onto 7)"
 hg rebase --source 4 2>&1 | sed 's/\(saving bundle to \).*/\1/'
 
-createrepo > /dev/null 2&>1
+createrepo > /dev/null 2>&1
 echo
 echo "% Specify only dest (from 3 onto 6)"
 hg update -C 5
 hg rebase --dest 6 2>&1 | sed 's/\(saving bundle to \).*/\1/'
 
-createrepo > /dev/null 2&>1
+createrepo > /dev/null 2>&1
 echo
 echo "% Specify only base (from 3 onto 7)"
 hg rebase --base 5 2>&1 | sed 's/\(saving bundle to \).*/\1/'
 
-createrepo > /dev/null 2&>1
+createrepo > /dev/null 2>&1
 echo
 echo "% Specify source and dest (from 4 onto 6)"
 hg rebase --source 4 --dest 6 2>&1 | sed 's/\(saving bundle to \).*/\1/'
 
-createrepo > /dev/null 2&>1
+createrepo > /dev/null 2>&1
 echo
 echo "% Specify base and dest (from 3 onto 6)"
 hg rebase --base 4 --dest 6 2>&1 | sed 's/\(saving bundle to \).*/\1/'