[PATCH] test-convert-cvs*: mute output from "cvs up"

Mads Kiilerich mads at kiilerich.com
Fri Feb 27 10:52:47 CST 2009


# HG changeset patch
# User Mads Kiilerich <mads at kiilerich.com>
# Date 1235753551 -3600
# Node ID ab33356cda81cc0d0de969af29d2c2b7a460a30e
# Parent  6d99ff7b79b54f624eee18f2c1e3be6f6efed98a
test-convert-cvs*: mute output from "cvs up"

Apparently some versions of cvs outputs more than other versions. That is
however not relevant for these tests.

diff --git a/tests/test-convert-cvs b/tests/test-convert-cvs
--- a/tests/test-convert-cvs
+++ b/tests/test-convert-cvs
@@ -85,7 +85,7 @@
 cd src
 cvs -q update -r1.1 b/c
 cvs -q tag -b branch
-cvs -q update -r branch
+cvs -q update -r branch > /dev/null
 echo d >> b/c
 cvs -q commit -mci2 . | grep '<--' |\
     sed -e 's:.*src/\(.*\),v.*:checking in src/\1,v:g'
diff --git a/tests/test-convert-cvs-branch b/tests/test-convert-cvs-branch
--- a/tests/test-convert-cvs-branch
+++ b/tests/test-convert-cvs-branch
@@ -38,7 +38,7 @@
 echo % Branch the project
 
 cvscall tag -b BRANCH
-cvscall up -r BRANCH
+cvscall up -r BRANCH > /dev/null
 
 echo % Modify file a, then b, then a 
 
diff --git a/tests/test-convert-cvs-builtincvsps b/tests/test-convert-cvs-builtincvsps
--- a/tests/test-convert-cvs-builtincvsps
+++ b/tests/test-convert-cvs-builtincvsps
@@ -84,7 +84,7 @@
 cd src
 cvs -q update -r1.1 b/c
 cvs -q tag -b branch
-cvs -q update -r branch
+cvs -q update -r branch > /dev/null
 echo d >> b/c
 cvs -q commit -mci2 . | grep '<--' |\
     sed -e 's:.*src/\(.*\),v.*:checking in src/\1,v:g'


More information about the Mercurial-devel mailing list