tests: silence output of darcs command
authorYuya Nishihara <yuya@tcha.org>
Sat, 05 Nov 2016 13:16:40 +0900
changeset 30296 ab929a174f7b
parent 30295 f65faa4422c8
child 30297 d4db88a26ad5
tests: silence output of darcs command It appears darcs is more verbose by default these days. I got test failure with Darcs 2.12.4.
tests/test-convert-darcs.t
--- a/tests/test-convert-darcs.t	Wed Nov 02 17:10:47 2016 -0700
+++ b/tests/test-convert-darcs.t	Sat Nov 05 13:16:40 2016 +0900
@@ -8,7 +8,7 @@
 
   $ mkdir darcs-repo
   $ cd darcs-repo
-  $ darcs init
+  $ darcs init -q
   $ echo a > a
   $ darcs record -a -l -m p0
   Finished recording patch 'p0'
@@ -43,6 +43,7 @@
   Backing up ./a(*) (glob)
   We have conflicts in the following files:
   ./a
+   (?)
   $ sleep 1
   $ echo e > a
   $ echo f > f
@@ -54,13 +55,13 @@
 
 test file and directory move
 
-  $ darcs mv f ff
+  $ darcs mv -q f ff
 
 Test remove + move
 
-  $ darcs remove dir/d2
+  $ darcs remove -q dir/d2
   $ rm dir/d2
-  $ darcs mv dir dir2
+  $ darcs mv -q dir dir2
   $ darcs record -a -l -m p3
   Finished recording patch 'p3'