threads / patch / 6373

patchHide output about SVN::Core not being found during tests.

Subject: [PATCH] Hide output about SVN::Core not being found during tests.

## tl;dr

One message between Jan 14, 2007 and Jan 14, 2007. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Shawn O. Pearce· Jan 14, 2007, 08:22 UTC · lore

If the user doesn't have SVN::Core installed or working then the SVN tests properly turn themselves off. But the user doesn't need to know that SVN::Core isn't loadable as a Perl module. Unless of course they are trying to debug the test, so lets relegate the Perl failures to --verbose only.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
---
 t/lib-git-svn.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Show changes to t/lib-git-svn.sh +1 −1
diff --git a/t/lib-git-svn.sh b/t/lib-git-svn.sh
index a0f2814..bb1d7b8 100644
--- a/t/lib-git-svn.sh
+++ b/t/lib-git-svn.sh
@@ -26,7 +26,7 @@ use SVN::Core;
 use SVN::Repos;
 \$SVN::Core::VERSION gt '1.1.0' or exit(42);
 system(qw/svnadmin create --fs-type fsfs/, '$svnrepo') == 0 or exit(41);
-"
+" >&3 2>&4
 x=$?
 if test $x -ne 0
 then
-- 
1.5.0.rc1.g4494

← back to recent threads