projects
/
fusionforge
/
fusionforge.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
project home
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f57afce
)
Adding file
author
Roland Mas
<lolando@debian.org>
Wed, 7 Nov 2012 15:19:22 +0000
(16:19 +0100)
committer
Roland Mas
<lolando@debian.org>
Wed, 7 Nov 2012 15:19:22 +0000
(16:19 +0100)
tests/func/PluginsScmBzr/bzrTest.php
patch
|
blob
|
history
diff --git
a/tests/func/PluginsScmBzr/bzrTest.php
b/tests/func/PluginsScmBzr/bzrTest.php
index 5479ceba07c18a9c303838f2c1115d256150e94c..afeb13a9e7c84f512e5936afed043eb6aa2f299e 100644
(file)
--- a/
tests/func/PluginsScmBzr/bzrTest.php
+++ b/
tests/func/PluginsScmBzr/bzrTest.php
@@
-61,16
+61,16
@@
class ScmBzrTest extends FForge_SeleniumTestCase
// Create a local branch, push it to the repo
$t = system("mktemp -d /tmp/bzrTest.XXXXXX");
// Create a local branch, push it to the repo
$t = system("mktemp -d /tmp/bzrTest.XXXXXX");
- system("cd $t && bzr init trunk >/dev/null", $ret);
+ system("cd $t && bzr init trunk
&
>/dev/null", $ret);
$this->assertEquals($ret, 0);
system("echo 'this is a simple text' > $t/trunk/mytext.txt");
$this->assertEquals($ret, 0);
system("echo 'this is a simple text' > $t/trunk/mytext.txt");
- system("cd $t/trunk && bzr add
&& bzr commit -m'Adding file'
", $ret);
+ system("cd $t/trunk && bzr add
--quiet &>/dev/null && bzr commit -m'Adding file' --quiet &>/dev/null
", $ret);
system("echo 'another simple text' >> $t/trunk/mytext.txt");
system("echo 'another simple text' >> $t/trunk/mytext.txt");
- system("cd $t/trunk && bzr add
&& bzr commit -m'Modifying file'
", $ret);
+ system("cd $t/trunk && bzr add
--quiet &>/dev/null && bzr commit -m'Modifying file' --quiet &>/dev/null
", $ret);
$this->assertEquals($ret, 0);
$this->assertEquals($ret, 0);
- system("cd $t/trunk &&
bzr push $p/trunk
", $ret);
+ system("cd $t/trunk &&
BZR_PROGRESS_BAR=none bzr push --quiet $p/trunk &>/dev/null
", $ret);
$this->assertEquals($ret, 0);
$this->open(ROOT.'/scm/loggerhead/projecta');
$this->assertEquals($ret, 0);
$this->open(ROOT.'/scm/loggerhead/projecta');