Hey, I had faced some issues while running tests with the below command:
sh t9116-git-svn-log.sh
I ran the test without making any changes to the file.
To get more verbose output for the reason of failure, I ran:
sh t9116-git-svn-log.sh -v -i -d (-i to figure out why the first test fails)
In the verbose output, I got the below error msg:
Couldn't open a repository: Unable to connect to a repository at URL
'file:///{hidden}/git/t/trash%20directory.t9116-git-svn-log/svnrepo':
Unable to open an ra_local session to URL: Unable to open repository
'file:///{hidden}/git/t/trash%20directory.t9116-git-svn-log/svnrepo':
Expected FS format between '1' and '6'; found format '7' at
{hidden}/git/perl/build/lib/Git/SVN.pm line 310.
I can share the entire verbose output if needed.
On 20/03/20 7:11 pm, Christian Couder wrote:
Hi,
On Fri, Mar 20, 2020 at 7:39 AM Shanthanu Rai
<shanthanu.s.rai9@xxxxxxxxx> wrote:
Hi, I am a 3rd Computer Science Undergrad at National Institute of
Technology Surathkal, India. I wish to apply to git for GSoC.
I am currently working on the microproject titled "Avoid pipes in git
related commands in test scripts". I found 't/t9116-git-svn-log.sh' to
have some commands wherein output of git is redirected to grep (using
pipe). So shall I go ahead and make the required changes, i.e., redirect
the output of git to a file and grep this file, in the relevant commands?
Yeah, sure.
In 't/t9116-git-svn-log.sh' it seems to me that some refactoring might
be needed too.
Best,
Christian.