<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/t/t9800-git-p4-basic.sh, branch v2.3.3</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.3.3</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.3.3'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2014-08-13T20:12:06Z</updated>
<entry>
<title>tests: fix negated test_i18ngrep calls</title>
<updated>2014-08-13T20:12:06Z</updated>
<author>
<name>Johannes Sixt</name>
<email>j6t@kdbg.org</email>
</author>
<published>2014-08-13T19:30:11Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=41ca19b6a6ca5ad6fea246bd400717c16b80b32c'/>
<id>urn:sha1:41ca19b6a6ca5ad6fea246bd400717c16b80b32c</id>
<content type='text'>
The helper function test_i18ngrep pretends that it found the expected
results when it is running under GETTEXT_POISON. For this reason, it must
not be used negated like so

   ! test_i18ngrep foo bar

because the test case would fail under GETTEXT_POISON. The function offers
a special syntax to test that a pattern is *not* found:

   test_i18ngrep ! foo bar

Convert incorrect uses to this syntax.

Signed-off-by: Johannes Sixt &lt;j6t@kdbg.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>git p4: generate better error message for bad depot path</title>
<updated>2013-01-27T06:00:38Z</updated>
<author>
<name>Pete Wyckoff</name>
<email>pw@padd.com</email>
</author>
<published>2013-01-27T03:11:06Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=0f487d308d819cf6c64b866cb2f5c366a13b1639'/>
<id>urn:sha1:0f487d308d819cf6c64b866cb2f5c366a13b1639</id>
<content type='text'>
Depot paths must start with //.  Exit with a better explanation
when a bad depot path is supplied.

Signed-off-by: Pete Wyckoff &lt;pw@padd.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>git p4: verify expected refs in clone --bare test</title>
<updated>2013-01-15T17:46:29Z</updated>
<author>
<name>Pete Wyckoff</name>
<email>pw@padd.com</email>
</author>
<published>2013-01-15T00:47:00Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=695d69989429e9268c0587e3606399fc9d6cd6fa'/>
<id>urn:sha1:695d69989429e9268c0587e3606399fc9d6cd6fa</id>
<content type='text'>
Make sure that the standard branches are created as expected.

Signed-off-by: Pete Wyckoff &lt;pw@padd.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>git p4 test: display unresolvable host error</title>
<updated>2012-11-26T19:00:49Z</updated>
<author>
<name>Pete Wyckoff</name>
<email>pw@padd.com</email>
</author>
<published>2012-11-23T22:35:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=e6777fde8d0ede84202ed1cc5ec0a175e0e52ab0'/>
<id>urn:sha1:e6777fde8d0ede84202ed1cc5ec0a175e0e52ab0</id>
<content type='text'>
This test passes already.  Make sure p4 diagnostic errors are displayed.

Signed-off-by: Pete Wyckoff &lt;pw@padd.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>git p4: catch p4 errors when streaming file contents</title>
<updated>2012-11-26T19:00:34Z</updated>
<author>
<name>Pete Wyckoff</name>
<email>pw@padd.com</email>
</author>
<published>2012-11-23T22:35:36Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=78189bead3f5fde22ae651d66208a0e0a375a819'/>
<id>urn:sha1:78189bead3f5fde22ae651d66208a0e0a375a819</id>
<content type='text'>
Error messages that arise during the "p4 print" phase of
generating commits were silently ignored.  Catch them,
abort the fast-import, and exit.

Without this fix, the sync/clone appears to work, but files that
are inaccessible by the p4d server will still be imported to git,
although without the proper contents.  Instead the errant files
will contain a p4 error message, such as "Librarian checkout
//depot/path failed".

Signed-off-by: Pete Wyckoff &lt;pw@padd.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>git p4 test: refactor marshal_dump</title>
<updated>2012-07-06T06:22:00Z</updated>
<author>
<name>Pete Wyckoff</name>
<email>pw@padd.com</email>
</author>
<published>2012-07-04T13:34:19Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=798d598080a68deb4958d69adacee409a23b467b'/>
<id>urn:sha1:798d598080a68deb4958d69adacee409a23b467b</id>
<content type='text'>
This function will be useful in future tests.  Move it to
the git-p4 test library.  Let it accept an optional argument
to pick a certain marshaled object out of the input stream.

Signed-off-by: Pete Wyckoff &lt;pw@padd.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>git p4 test: fix badp4dir test</title>
<updated>2012-06-28T04:06:35Z</updated>
<author>
<name>Pete Wyckoff</name>
<email>pw@padd.com</email>
</author>
<published>2012-06-27T12:01:03Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=a0327c0edc7ada60ae2af5ec8daa5dcfcacd095d'/>
<id>urn:sha1:a0327c0edc7ada60ae2af5ec8daa5dcfcacd095d</id>
<content type='text'>
The construct used to get the return code was flawed, in that
errors in the &amp;&amp;-chain before the semicolon were not caught.  Use
the standard test_expect_code instead.

Set PATH in a subshell instead of relying on the bashism of
setting it just for a single command.

And fix the grep line so it doesn't worry about grep segfaults,
and doesn't fail for i18n issues.

Reported-by: Johannes Sixt &lt;j.sixt@viscovery.net&gt;
Signed-off-by: Pete Wyckoff &lt;pw@padd.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>git p4 test: split up big t9800 test</title>
<updated>2012-06-28T04:06:35Z</updated>
<author>
<name>Pete Wyckoff</name>
<email>pw@padd.com</email>
</author>
<published>2012-06-27T12:01:02Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=9b6513ac6fde1552a9a3d606be704eb5ded43ac0'/>
<id>urn:sha1:9b6513ac6fde1552a9a3d606be704eb5ded43ac0</id>
<content type='text'>
The original t9800 test code has a mix of assorted topics, some
of which are big enough to deserve their own homes.
Interdependencies between the topics make it confusing when
trying to study one in isolation.  And it takes so long to run
that debugging an individual test is difficult.

Split out three big chunks of tests into their own files:

    t9812-git-p4-wildcards.sh gets the 8 p4 wildcard tests

    t9813-git-p4-preserve-users.sh gets the 4 --preserve-user tests

    t9814-git-p4-rename.sh gets the 2 copy and rename tests

Test 9800 execution time drops from 29 sec to 9 sec.  The
sequential time to run all tests is a slower due to the three
extra p4d startup/shutdown sequences, but the overall parallel
execution time is about the same, at 52 sec.

Signed-off-by: Pete Wyckoff &lt;pw@padd.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>git p4 test: cleanup_git should make a new $git</title>
<updated>2012-06-28T04:06:35Z</updated>
<author>
<name>Pete Wyckoff</name>
<email>pw@padd.com</email>
</author>
<published>2012-06-27T12:01:01Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=23a2666c2e402b2425a6abe910c04cebbea25e31'/>
<id>urn:sha1:23a2666c2e402b2425a6abe910c04cebbea25e31</id>
<content type='text'>
For convenience, leave one in place at the end of each
test so that it is not necessary to build a new one.  This
makes it consistent with $cli.

Signed-off-by: Pete Wyckoff &lt;pw@padd.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>git p4 test: copy source indeterminate</title>
<updated>2012-06-28T04:06:35Z</updated>
<author>
<name>Pete Wyckoff</name>
<email>pw@padd.com</email>
</author>
<published>2012-06-27T12:01:00Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=f69b3a93ca8a0f2fb9a9075df943172e2aa5c718'/>
<id>urn:sha1:f69b3a93ca8a0f2fb9a9075df943172e2aa5c718</id>
<content type='text'>
Msysgit testing showed that the source file found by copy
detection is indeterminate when there are multiple sources
to choose from.  This appears to be valid.  Adjust the test
so that it passes if it finds any of the potential copy sources.

Signed-off-by: Pete Wyckoff &lt;pw@padd.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
