<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/t/t556x_common, branch master</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=master</id>
<link rel='self' href='https://git.shady.money/git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2020-11-19T23:44:18Z</updated>
<entry>
<title>t55[4-9]*: 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:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=028cb644ec6450fa9438ba6b6d100c0f34e029a5'/>
<id>urn:sha1:028cb644ec6450fa9438ba6b6d100c0f34e029a5</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' -e 's/retsam/niam/g' \
		-- t55[4-9]*.sh t556x*)

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

Note that t5541 uses the reversed `master` name: `retsam`. We replace it
by the equivalent for `main`: `niam`.

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>t5561: get rid of racy appending to logfile</title>
<updated>2015-09-25T15:45:25Z</updated>
<author>
<name>Stephan Beyer</name>
<email>s-beyer@gmx.net</email>
</author>
<published>2015-09-24T18:12:22Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=362d8b6e0d313e0e06553f5c390dc7f2172c0569'/>
<id>urn:sha1:362d8b6e0d313e0e06553f5c390dc7f2172c0569</id>
<content type='text'>
The definition of log_div() appended information to the web server's
logfile to make the test more readable. However, log_div() was called
right after a request is served (which is done by git-http-backend);
the web server waits for the git-http-backend process to exit before
it writes to the log file. When the duration between serving a request
and exiting was long, the log_div() output was written before the last
request's log, and the test failed. (This duration could become
especially long for PROFILE=GEN builds.)

To get rid of this behavior, we should not change the logfile at all.
This commit removes log_div() and its calls. The additional information
is kept in the test (for readability reasons) but filtered out before
comparing it to the actual logfile.

Signed-off-by: Stephan Beyer &lt;s-beyer@gmx.net&gt;
Reviewed-by: Jeff King &lt;peff@peff.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'en/and-cascade-tests'</title>
<updated>2010-11-24T23:51:49Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2010-11-24T23:51:49Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=b3ff808b714fd8fc5e4d2770720398e5dc7d27f9'/>
<id>urn:sha1:b3ff808b714fd8fc5e4d2770720398e5dc7d27f9</id>
<content type='text'>
* en/and-cascade-tests: (25 commits)
  t4124 (apply --whitespace): use test_might_fail
  t3404: do not use 'describe' to implement test_cmp_rev
  t3404 (rebase -i): introduce helper to check position of HEAD
  t3404 (rebase -i): move comment to description
  t3404 (rebase -i): unroll test_commit loops
  t3301 (notes): use test_expect_code for clarity
  t1400 (update-ref): use test_must_fail
  t1502 (rev-parse --parseopt): test exit code from "-h"
  t6022 (renaming merge): chain test commands with &amp;&amp;
  test-lib: introduce test_line_count to measure files
  tests: add missing &amp;&amp;, batch 2
  tests: add missing &amp;&amp;
  Introduce sane_unset and use it to ensure proper &amp;&amp; chaining
  t7800 (difftool): add missing &amp;&amp;
  t7601 (merge-pull-config): add missing &amp;&amp;
  t7001 (mv): add missing &amp;&amp;
  t6016 (rev-list-graph-simplify-history): add missing &amp;&amp;
  t5602 (clone-remote-exec): add missing &amp;&amp;
  t4026 (color): remove unneeded and unchained command
  t4019 (diff-wserror): add lots of missing &amp;&amp;
  ...

Conflicts:
	t/t7006-pager.sh
</content>
</entry>
<entry>
<title>tests: add missing &amp;&amp;</title>
<updated>2010-11-09T19:59:49Z</updated>
<author>
<name>Jonathan Nieder</name>
<email>jrnieder@gmail.com</email>
</author>
<published>2010-10-31T01:46:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=a48fcd836971d065b9bf16b8cd046fd1aff9b279'/>
<id>urn:sha1:a48fcd836971d065b9bf16b8cd046fd1aff9b279</id>
<content type='text'>
Breaks in a test assertion's &amp;&amp; chain can potentially hide
failures from earlier commands in the chain.

Commands intended to fail should be marked with !, test_must_fail, or
test_might_fail.  The examples in this patch do not require that.

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>shell portability: no "export VAR=VAL"</title>
<updated>2010-10-13T18:36:36Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2010-10-13T18:36:36Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=69ae92bda13dfbf0b7d169c57b9f2715af2a9d67'/>
<id>urn:sha1:69ae92bda13dfbf0b7d169c57b9f2715af2a9d67</id>
<content type='text'>
It is more portable to say "VAR=VAL &amp;&amp; export VAR" instead.

Noticed by Ævar.

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Smart-http tests: Test http-backend without curl or a webserver</title>
<updated>2010-01-06T09:18:37Z</updated>
<author>
<name>Tarmigan Casebolt</name>
<email>tarmigan+git@gmail.com</email>
</author>
<published>2010-01-02T21:43:59Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=fd0a8c2e6428acb883bf4707de54b3e026c57455'/>
<id>urn:sha1:fd0a8c2e6428acb883bf4707de54b3e026c57455</id>
<content type='text'>
This reuses many of the tests from the old t5560 but runs those tests
without curl or a webserver.  This will hopefully increase the testing
coverage for http-backend because it does not require users to set
GIT_TEST_HTTPD.

Signed-off-by: Tarmigan Casebolt &lt;tarmigan+git@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Smart-http tests: Break test t5560-http-backend into pieces</title>
<updated>2010-01-06T09:18:32Z</updated>
<author>
<name>Tarmigan Casebolt</name>
<email>tarmigan+git@gmail.com</email>
</author>
<published>2010-01-02T21:38:06Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=04481adffe7d4d969d7067d7a6d6e5e46e44f1c8'/>
<id>urn:sha1:04481adffe7d4d969d7067d7a6d6e5e46e44f1c8</id>
<content type='text'>
This should introduce no functional change in the tests or the amount
of test coverage.

Acked-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;
Signed-off-by: Tarmigan Casebolt &lt;tarmigan+git@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
