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

Re: [regression] `make profile-install` fails in 2.10.1

From
Junio C Hamano <gitster@pobox.com>
Date
Oct 19, 2016, 22:30 UTC
Message-ID
<xmqqd1iwj7jf.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<xmqqh988j7oo.fsf@gitster.mtv.corp.google.com>
Junio C Hamano <gitster@pobox.com> writes:
> Ouch.  Thanks for a reminder.  How about doing this for now?
And the hack I used to quickly test it looks like this:
    $ cd t
    $ GIT_I_AM_INSANE=Yes sh ./t3700-add.sh
We may want a more general 
    GIT_OVERRIDE_PREREQ='!SANITY,!POSIXPERM,MINGW' make test
or something like that, though.
 t/test-lib.sh | 7 +++++++
 1 file changed, 7 insertions(+)
diff --git a/t/test-lib.sh b/t/test-lib.sh
index 0055ebba46..9c5bcd9d1d 100644
--- a/t/test-lib.sh
+++ b/t/test-lib.sh
@@ -89,6 +89,7 @@ unset VISUAL EMAIL LANGUAGE COLUMNS $("$PERL_PATH" -e '
 		UNZIP
 		PERF_
 		CURL_VERBOSE
+		I_AM_INSANE
 	));
 	my @vars = grep(/^GIT_/ && !/^GIT_($ok)/o, @env);
 	print join("\n", @vars);
@@ -1081,6 +1082,12 @@ test_lazy_prereq NOT_ROOT '
 # containing directory doesn't have read or execute permissions.
 
 test_lazy_prereq SANITY '
+
+	if test -n "$GIT_I_AM_INSANE"
+	then
+		return 1
+	fi &&
+
 	mkdir SANETESTD.1 SANETESTD.2 &&
 
 	chmod +w SANETESTD.1 SANETESTD.2 &&
Previous: Junio C HamanoNext: Jeff King
Message 4 of 7 in “[regression] `make profile-install` fails in 2.10.1”
  1. Jan KeromnesOct 19, 2016
  2. Jeff KingOct 19, 2016
  3. Junio C HamanoOct 19, 2016
  4. Junio C HamanoOct 19, 2016
  5. Jeff KingOct 19, 2016
  6. Junio C HamanoOct 20, 2016
  7. Jeff KingOct 19, 2016

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.