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

Re: [PATCH] mingw: add a regression test for pushing to UNC paths

From
Johannes Sixt <j6t@kdbg.org>
Date
Dec 23, 2016, 18:04 UTC
Message-ID
<6d69b529-a42c-9f93-f342-7c6c19170285@kdbg.org>
In-Reply-To
<9fb8a9f405b19db087379ea5bbad80c3fbac8e4e.1482513055.git.johannes.schindelin@gmx.de>
Am 23.12.2016 um 18:11 schrieb Johannes Schindelin:
> Let's make sure that it does not regress again, by introducing a test
> that uses so-called "administrative shares": disk volumes are
> automatically shared under certain circumstances, e.g.  the C: drive is
> shared as \\localhost\c$.
Clever!
Show 18 quoted lines
> +test_expect_success setup '
> +	test_commit initial
> +'
> +
> +test_expect_success clone '
> +	git clone "file://$UNCPATH" clone
> +'
> +
> +test_expect_success push '
> +	(
> +		cd clone &&
> +		git checkout -b to-push &&
> +		test_commit to-push &&
> +		git push origin HEAD
> +	)
> +'
> +
> +test_done
Wouldn't at a minimum
test_expect_success 'check push result' '
	git rev-parse to-push
'
be a good idea to make sure that the pushed commit actually arrived?
-- Hannes
Previous: Johannes SchindelinNext: Johannes Schindelin
Message 2 of 4 in “mingw: add a regression test for pushing to UNC paths”
  1. mingw: add a regression test for pushing to UNC pathsJohannes Schindelin, Dec 23, 2016
  2. Johannes SixtDec 23, 2016
  3. Johannes SchindelinJan 2, 2017
  4. mingw: add a regression test for pushing to UNC pathsJohannes Schindelin, Jan 2, 2017

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.