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

Re: t7300-clean.sh fails "not ok 32 - should avoid cleaning possible submodules" on debian jessie

From
PPPirate Praveen <praveen@debian.org>
Date
Jun 7, 2016, 13:07 UTC
Message-ID
<5756C6F4.5050300@debian.org>
In-Reply-To
<alpine.DEB.2.20.1606071229500.28610@virtualbox>
On Tuesday 07 June 2016 04:00 PM, Johannes Schindelin wrote:
Show 12 quoted lines
> Hi Pirate Praveen,
> 
> On Tue, 7 Jun 2016, Pirate Praveen wrote:
> 
>> I'm trying to rebuild git 2.8.1 on debian jessie/stable and I get this
>> error (tests upto this succeeds).
>>
>> not ok 32 - should avoid cleaning possible submodules
> 
> How about re-running the script with -i -v -x? If the output is still
> not shining enough light on it, maybe you want to paste the (relevant part
> of the) output into a reply?
+ rm -fr to_clean possible_sub1
+ mkdir to_clean possible_sub1
+ test_when_finished rm -rf possible_sub*
+ test 0 = 0
+ test_cleanup={ rm -rf possible_sub*
                } && (exit "$eval_ret"); eval_ret=$?; :
+ echo gitdir: foo
+
+ chmod 0 possible_sub1/.git
+
+ git clean -f -d
Skipping repository baz/boo
Skipping repository foo/
Removing possible_sub1/
Skipping repository repo/
Skipping repository sub2/
Removing to_clean/
+ test_path_is_file possible_sub1/.git
+ test -f possible_sub1/.git
+ echo File possible_sub1/.git doesn't exist.
File possible_sub1/.git doesn't exist.
+ false
error: last command exited with $?=1
not ok 32 - should avoid cleaning possible submodules
#
#               rm -fr to_clean possible_sub1 &&
#               mkdir to_clean possible_sub1 &&
#               test_when_finished "rm -rf possible_sub*" &&
#               echo "gitdir: foo" >possible_sub1/.git &&
#               >possible_sub1/hello.world &&
#               chmod 0 possible_sub1/.git &&
#               >to_clean/should_clean.this &&
#               git clean -f -d &&
#               test_path_is_file possible_sub1/.git &&
#               test_path_is_file possible_sub1/hello.world &&
#               test_path_is_missing to_clean
#
> Ciao,
> Johannes
> 
Previous: Johannes SchindelinNext: Stefan Beller
Message 3 of 7 in “t7300-clean.sh fails "not ok 32 - should avoid cleaning possible submodules" on debian jessie”
  1. Pirate PraveenJun 7, 2016
  2. Johannes SchindelinJun 7, 2016
  3. Pirate PraveenJun 7, 2016
  4. Stefan BellerJun 7, 2016
  5. Stefan BellerJun 7, 2016
  6. Pirate PraveenJun 7, 2016
  7. Johannes SchindelinJun 8, 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.