git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Shawn O. Pearce <spearce@spearce.org>
Date
Jan 14, 2007, 08:22 UTC
Message-ID
<20070114082247.GA19622@spearce.org>

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(-)
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
Message 1 of 1 in “Hide output about SVN::Core not being found during tests.”
  1. Hide output about SVN::Core not being found during tests.Shawn O. Pearce, Jan 14, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.