<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/t/lib-cvs.sh, branch main</title>
<subtitle>Fork of git SCM with my patches.</subtitle>
<id>http://git.kilabit.info/git/atom?h=main</id>
<link rel='self' href='http://git.kilabit.info/git/atom?h=main'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/'/>
<updated>2026-01-19T19:02:31Z</updated>
<entry>
<title>ci: skip CVS and P4 tests in leaks job, too</title>
<updated>2026-01-19T19:02:31Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2026-01-17T18:34:17Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=047bd7dfe3b6563ea5f6543533207e3481f3e74c'/>
<id>urn:sha1:047bd7dfe3b6563ea5f6543533207e3481f3e74c</id>
<content type='text'>
Looking at the CI logs, the p4 and cvs tests account for another 24
minutes of test time and they offer minimal value for quite a
similar reason as the previous step.

Let's introduce and use a mechanism to skip these tests to save
some resources.

Suggested-by: Phillip Wood &lt;phillip.wood@dunelm.org.uk&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>t/lib-cvs.sh: avoid redundant use of cat</title>
<updated>2024-03-16T18:08:56Z</updated>
<author>
<name>Beat Bolli</name>
<email>bb@drbeat.li</email>
</author>
<published>2024-03-15T19:46:00Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=99eb825c09f9b89e27249ec5c303a93142f505ce'/>
<id>urn:sha1:99eb825c09f9b89e27249ec5c303a93142f505ce</id>
<content type='text'>
Signed-off-by: Beat Bolli &lt;dev+git@drbeat.li&gt;
Acked-by: Taylor Blau &lt;me@ttaylorr.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>t9[5-7]*: adjust the references to the default branch name "main"</title>
<updated>2020-11-19T23:44:18Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>johannes.schindelin@gmx.de</email>
</author>
<published>2020-11-18T23:44:43Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=765577b5d0ea1440f762ec9b6ba94792b3495221'/>
<id>urn:sha1:765577b5d0ea1440f762ec9b6ba94792b3495221</id>
<content type='text'>
This trick was performed via

	$ (cd t &amp;&amp;
	   sed -i -e 's/master/main/g' -e 's/MASTER/MAIN/g' \
		-e 's/Master/Main/g' -- t9[5-7]*.sh lib-cvs.sh)

This allows us to define `GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main`
for those tests.

Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>lib-cvs.sh: use the $( ... ) construct for command substitution</title>
<updated>2014-04-23T22:17:03Z</updated>
<author>
<name>Elia Pinto</name>
<email>gitter.spiros@gmail.com</email>
</author>
<published>2014-04-23T13:44:04Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=03db917867bfd27c7a1f8e5b713d7bd7d3f6370e'/>
<id>urn:sha1:03db917867bfd27c7a1f8e5b713d7bd7d3f6370e</id>
<content type='text'>
The Git CodingGuidelines prefer the $(...) construct for command
substitution instead of using the backquotes `...`.

The backquoted form is the traditional method for command
substitution, and is supported by POSIX.  However, all but the
simplest uses become complicated quickly.  In particular, embedded
command substitutions and/or the use of double quotes require
careful escaping with the backslash character.

The patch was generated by:

for _f in $(find . -name "*.sh")
do
   sed -i 's@`\(.*\)`@$(\1)@g' ${_f}
done

and then carefully proof-read.

Signed-off-by: Elia Pinto &lt;gitter.spiros@gmail.com&gt;
Reviewed-by: Matthieu Moy &lt;Matthieu.Moy@imag.fr&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>test: replace shebangs with descriptions in shell libraries</title>
<updated>2013-11-26T22:23:52Z</updated>
<author>
<name>Jonathan Nieder</name>
<email>jrnieder@gmail.com</email>
</author>
<published>2013-11-25T21:03:06Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=c74c72034f061d1d9d5b8b1fba20ce0138d423b4'/>
<id>urn:sha1:c74c72034f061d1d9d5b8b1fba20ce0138d423b4</id>
<content type='text'>
A #! line in these files is misleading, since these scriptlets are
meant to be sourced with '.' (using whatever shell sources them)
instead of run directly using the interpreter named on the #! line.

Removing the #! line shouldn't hurt syntax highlighting since
these files have filenames ending with '.sh'.  For documentation,
add a brief description of how the files are meant to be used in
place of the shebang line.

Signed-off-by: Jonathan Nieder &lt;jrnieder@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>tests: factor HOME=$(pwd) in test-lib.sh</title>
<updated>2010-08-31T19:12:02Z</updated>
<author>
<name>Matthieu Moy</name>
<email>Matthieu.Moy@imag.fr</email>
</author>
<published>2010-08-30T09:50:42Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=e4c62e640db3f704b4c27435c6b8efdb170988dc'/>
<id>urn:sha1:e4c62e640db3f704b4c27435c6b8efdb170988dc</id>
<content type='text'>
The same pattern is used in many tests, and makes it easy for new ones to
rely on $HOME being a trashable, clean, directory.

Signed-off-by: Matthieu Moy &lt;Matthieu.Moy@imag.fr&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>cvs tests: do not touch test CVS repositories shipped with source</title>
<updated>2010-08-18T19:43:24Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2010-08-16T16:25:01Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=9b777a165e050f9a881a74a5902a8ddd2de30da5'/>
<id>urn:sha1:9b777a165e050f9a881a74a5902a8ddd2de30da5</id>
<content type='text'>
Some tests in t96xx series (cvsimport) want to write into the control area
(CVSROOT) of their test CVS repositories, but this does not work well when
the source area is made read-only (test trash directories are moved via
--root=else/where option).

Copy the supplied test CVS repository to a scratch place at the beginning
of these tests.

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>tests: Use skip_all=* to skip tests</title>
<updated>2010-07-09T00:53:12Z</updated>
<author>
<name>Ævar Arnfjörð Bjarmason</name>
<email>avarab@gmail.com</email>
</author>
<published>2010-07-08T01:16:06Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=e8344e866655cfae1f870d7e8d5046c1bdf08adf'/>
<id>urn:sha1:e8344e866655cfae1f870d7e8d5046c1bdf08adf</id>
<content type='text'>
Change tests to skip with skip_all=* + test_done instead of using say
+ test_done.

This is a follow-up to "tests: Skip tests in a way that makes sense
under TAP" (fadb5156e4). I missed these cases when prepearing that
patch, hopefully this is all of them.

Signed-off-by: Ævar Arnfjörð Bjarmason &lt;avarab@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>t/t9600: remove exit after test_done</title>
<updated>2009-04-05T08:40:50Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-04-05T08:40:50Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=0eaadfe625fdb9fe9e469413b5e295f6c2ac46ad'/>
<id>urn:sha1:0eaadfe625fdb9fe9e469413b5e295f6c2ac46ad</id>
<content type='text'>
This cherry-picks part of 5dba35912474770d0df45ed801d78c4c9ed5e949

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Test contents of entire cvsimported "master" tree contents</title>
<updated>2009-02-24T05:56:46Z</updated>
<author>
<name>Michael Haggerty</name>
<email>mhagger@alum.mit.edu</email>
</author>
<published>2009-02-23T05:08:12Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=cefa318ddbc8565b50ac2eb9b6aab93e26cc0abe'/>
<id>urn:sha1:cefa318ddbc8565b50ac2eb9b6aab93e26cc0abe</id>
<content type='text'>
Test added for completeness (it passes).

Signed-off-by: Michael Haggerty &lt;mhagger@alum.mit.edu&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
