Fix wrong redirection in test-rebase-parameters
authorStefano Tortarolo <stefano.tortarolo@gmail.com>
Wed, 27 Aug 2008 12:49:39 +0200
changeset 6939 40cacb049ef6
parent 6938 ce94b3236ea4
child 6940 05ec27530d04
Fix wrong redirection in test-rebase-parameters
tests/test-rebase-parameters
--- 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/'