# [PATCH] tests: make all test files executable

2 messages from 2009-10-06 to 2009-10-06. Participants: Mark Rada, Jeff King.
Thread: https://gitlist.dev/t/21138

## Mark Rada, 2009-10-06 01:46

Subject: [PATCH] tests: make all test files executable
Message-ID: <4ACAA15E.6090403@mailservices.uwaterloo.ca>
URL: https://gitlist.dev/e/4ACAA15E.6090403%40mailservices.uwaterloo.ca

```
For consistency with the rest of the test files.

Signed-off-by: Mark Rada <marada@uwaterloo.ca>
---

	No changes, just a resend. This should work; I assume
	the problem last time was a human error (me :(), or
	something weird that happens with saving e-mail drafts
	between	Apple Mail and Thunderbird (they share).

	If this version is also messed up, then I give up.

	Jeff, please explain what you meant by `inscrutable
	binary'? It is an ASCII text file according to file.
	¯\(°_o)/¯

 0 files changed, 0 insertions(+), 0 deletions(-)
 mode change 100644 => 100755 t/t5531-deep-submodule-push.sh
 mode change 100644 => 100755 t/t9501-gitweb-standalone-http-status.sh

diff --git a/t/t5531-deep-submodule-push.sh b/t/t5531-deep-submodule-push.sh
old mode 100644
new mode 100755
diff --git a/t/t9501-gitweb-standalone-http-status.sh b/t/t9501-gitweb-standalone-http-status.sh
old mode 100644
new mode 100755
--
1.6.5.rc2

```

## Jeff King, 2009-10-06 10:00

Subject: Re: [PATCH] tests: make all test files executable
Message-ID: <20091006100016.GA30404@coredump.intra.peff.net>
URL: https://gitlist.dev/e/20091006100016.GA30404%40coredump.intra.peff.net
In-Reply-To: <4ACAA15E.6090403@mailservices.uwaterloo.ca>

```
On Mon, Oct 05, 2009 at 09:46:06PM -0400, Mark Rada wrote:

> 	No changes, just a resend. This should work; I assume
> 	the problem last time was a human error (me :(), or
> 	something weird that happens with saving e-mail drafts
> 	between	Apple Mail and Thunderbird (they share).

This version looks fine (though I fixed up and applied the old one, so
it is only useful as an experment). Whatever you did differently worked.
:)

> 	Jeff, please explain what you meant by `inscrutable
> 	binary'? It is an ASCII text file according to file.
> 	¯\(°_o)/¯

When I looked at in mutt, it was full of binary garbage. But looking at
it more closely, the attachment is bogus. Look at:

  http://article.gmane.org/gmane.comp.version-control.git/129522/raw

You have a message/rfc822 attachment which claims to be encoded using
base64. But there's a bunch of extra text at the top before the base64
starts, which throws off the decoding, leading to the binary garbage.

So the .eml format appears to be a subset of the headers, followed by
the base64-encoded body. But your mail client, in attaching it, marked
it as base64-encoded, which is just wrong. But in theory that is a
problem in transporting the file to the list. For you to "git am" it
yourself, we'll assume you saw the raw contents.

Even then, it is still a confusing format. Instead of the headers
looking like

  From: whatever

there is a line break, so they appear as

  From:
  whatever

and of course there are no mime headers indicating that body is
base64-encoded. So it is definitely not an rfc822 message, which is what
"git am" is expecting.

-Peff

```
