threads / discuss / 6584

t9200-git-cvsexportcommit #8 failure on OS X

Subject: t9200-git-cvsexportcommit #8 failure on OS X

## tl;dr

9 messages between Jan 30, 2007 and Jan 31, 2007.

replies: 8people: 3as markdown or json

Brian Gernhardt· Jan 30, 2007, 16:32 UTC · lore
* expecting success: mkdir -p ?/goo/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y/z/?/?/? &&
      echo Foo >?/goo/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y/z/?/?/?/g?rdets?g?rdet.txt &&
      git add ?/goo/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y/z/?/?/?/g?rdets?g?rdet.txt &&
      cp ../test9200a.png ?/goo/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y/z/?/?/?/g?rdets?g?rdet.png &&
      git add ?/goo/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y/z/?/?/?/g?rdets?g?rdet.png &&
      git commit -a -m "G?r det s? g?r det" && \
      id=$(git rev-list --max-count=1 HEAD) &&
      (cd "$CVSWORK" &&
      git-cvsexportcommit -v -c $id &&
      test "$(echo $(sort ?/goo/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y/z/?/?/?/CVS/Entries|cut -d/ -f2,3,5))" = "g?rdets?g?rdet.png/1.1/-kb g?rdets?g?rdet.txt/1.1/"
      )
mkdir: ?: Invalid argument

It looks like one of the odd characters that git's using for the test is an invalid character for HFS+, so the entire test fails. Perhaps this should be made a "soft" failure like all of the SVN tests passing despite me not having SVN installed, or should a different character be used somewhere? Git can't possibly be expected to work in a situation where the FS fails.

~~ Brian
Robin Rosenberg· Jan 30, 2007, 22:20 UTC · re: Brian Gernhardt · lore

Re: t9200-git-cvsexportcommit #8 failure on OS X

tisdag 30 januari 2007 17:32 skrev Brian Gernhardt: [...]

Show 8 quoted lines
> mkdir: ?: Invalid argument
>
> It looks like one of the odd characters that git's using for the test is
> an invalid character for HFS+, so the entire test fails.  Perhaps this
> should be made a "soft" failure like all of the SVN tests passing
> despite me not having SVN installed, or should a different character be
> used somewhere?  Git can't possibly be expected to work in a situation
> where the FS fails.

My fault. The problem is that the data is ISO-8859-1, which is invalid when interpreted as UTF-8. Another user reported the same problem in cygwin on a Korean Windows. The byte sequences are illegal there too.

A number of solution could be concieved, like converting to the local encoding first, but that cannot be done beacuase I couldn't find any non-ascii characters that would be convertible into any (major) locale.

Another is to ignore the test if these files cannot be created.
-- robin
Robin Rosenberg· Jan 30, 2007, 22:49 UTC · re: Brian Gernhardt · lore

[PATCH] Fail softly if file system does not like test data.

Most unix file system allow almost any byte sequence, but other may reject sequences that are not valid according to the locale. This change makes failure somewhat less likely by using UTF-8-encoded characters (which happen to be valid interpreted as ISO-8859-1 and skips the test if the local file system does not support the test data.

Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
---

Please try this on cygwin (western iso-8859-X, korean on FAT & NTFS) and MacOSX (HFS) where we know there was a problem. The non-ascii filename test should be skipped, with a notice) in most asian locales on Windows and MacOSX.

 t/t9200-git-cvsexportcommit.sh |   35 +++++++++++++++++++++--------------
 1 files changed, 21 insertions(+), 14 deletions(-)
diff --git a/t/t9200-git-cvsexportcommit.sh b/t/t9200-git-cvsexportcommit.sh
index fd0a554..fdf7b3f 100755
--- a/t/t9200-git-cvsexportcommit.sh
+++ b/t/t9200-git-cvsexportcommit.sh
@@ -169,20 +169,27 @@ test_expect_success \
       test "$(echo $(sort "G g/CVS/Entries"|cut -d/ -f2,3,5))" = "with spaces.png/1.2/-kb with spaces.txt/1.2/"
       )'
 
-# This test contains ISO-8859-1 characters
-test_expect_success \
-     'File with non-ascii file name' \
-     'mkdir -p �/goo/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y/z/�/�/� &&
-      echo Foo >�/goo/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y/z/�/�/�/g�rdets�g�rdet.txt &&
-      git add �/goo/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y/z/�/�/�/g�rdets�g�rdet.txt &&
-      cp ../test9200a.png �/goo/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y/z/�/�/�/g�rdets�g�rdet.png &&
-      git add �/goo/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y/z/�/�/�/g�rdets�g�rdet.png &&
-      git commit -a -m "G�r det s� g�r det" && \
-      id=$(git rev-list --max-count=1 HEAD) &&
-      (cd "$CVSWORK" &&
-      git-cvsexportcommit -v -c $id &&
-      test "$(echo $(sort �/goo/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y/z/�/�/�/CVS/Entries|cut -d/ -f2,3,5))" = "g�rdets�g�rdet.png/1.1/-kb g�rdets�g�rdet.txt/1.1/"
-      )'
+# This test contains UTF-8 characters and may fail on some filesystems
+mkdir -p "/å/goo/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y/z/å/ä/ö" >/dev/null 2>&1
+if test $? -ne 0
+then
+    test_expect_success 'File with non-ascii file name skipped, file system is incompatible with test data' :
+else
+    test_expect_success \
+	'File with non-ascii file name' \
+	'(mkdir -p "å/goo/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y/z/å/ä/ö" ||
+         echo "Local filesystem does not permit this test" ) &&
+         echo Foo >"å/goo/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y/z/å/ä/ö/gårdetsågårdet.txt" &&
+         git add "å/goo/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y/z/å/ä/ö/gårdetsågårdet.txt" &&
+         cp ../test9200a.png "å/goo/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y/z/å/ä/ö/gårdetsågårdet.png" &&
+         git add "å/goo/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y/z/å/ä/ö/gårdetsågårdet.png" &&
+         git commit -a -m "Går det så går det" && \
+         id=$(git rev-list --max-count=1 HEAD) &&
+         (cd "$CVSWORK" &&
+         git-cvsexportcommit -v -c $id &&
+         test "$(echo $(sort "å/goo/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y/z/å/ä/ö/CVS/Entries"|cut -d/ -f2,3,5))" = "gårdetsågårdet.png/1.1/-kb gårdetsågårdet.txt/1.1/"
+         )'
+fi
 
 test_expect_success \
      'Mismatching patch should fail' \
Brian Gernhardt· Jan 30, 2007, 23:28 UTC · re: Robin Rosenberg · lore

Re: [PATCH] Fail softly if file system does not like test data.

On Jan 30, 2007, at 5:49 PM, Robin Rosenberg wrote:
Show 17 quoted lines
> Most unix file system allow almost any byte sequence, but other may  
> reject
> sequences that are not valid according to the locale. This change  
> makes
> failure somewhat less likely by using UTF-8-encoded characters (which
> happen to be valid interpreted as ISO-8859-1 and skips the test if the
> local file system does not support the test data.
>
> Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
> ---
>
> Please try this on cygwin (western iso-8859-X, korean on FAT &  
> NTFS) and
> MacOSX (HFS) where we know there was a problem. The non-ascii filename
> test should be skipped, with a notice) in most asian locales on  
> Windows
> and MacOSX.

Doesn't work, but it's closer. I can't see where a .gitignore is getting set, though.

* expecting success: (mkdir -p "å/goo/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/ 
q/r/s/t/u/v/w/x/y/z/å/ä/ö" ||
          echo "Local filesystem does not permit this test" ) &&
          echo Foo >"å/goo/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/ 
v/w/x/y/z/å/ä/ö/gårdetsågårdet.txt" &&
          git add "å/goo/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/ 
w/x/y/z/å/ä/ö/gårdetsågårdet.txt" &&
          cp ../test9200a.png "å/goo/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/ 
q/r/s/t/u/v/w/x/y/z/å/ä/ö/gårdetsågårdet.png" &&
          git add "å/goo/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/ 
w/x/y/z/å/ä/ö/gårdetsågårdet.png" &&
          git commit -a -m "Går det så går det" && \
          id=$(git rev-list --max-count=1 HEAD) &&
          (cd "$CVSWORK" &&
          git-cvsexportcommit -v -c $id &&
          test "$(echo $(sort "å/goo/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/ 
q/r/s/t/u/v/w/x/y/z/å/ä/ö/CVS/Entries"|cut -d/ -f2,3,5))" =  
"gårdetsågårdet.png/1.1/-kb gårdetsågårdet.txt/1.1/"
          )
The following paths are ignored by one of your .gitignore files:
å/goo/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y/z/å/ä/ö/ 
gårdetsågårdet.txt
Use -f if you really want to add them.
* FAIL 8: File with non-ascii file name
Robin Rosenberg· Jan 31, 2007, 00:14 UTC · re: Brian Gernhardt · lore

Re: [PATCH] Fail softly if file system does not like test data.

onsdag 31 januari 2007 00:28 skrev Brian Gernhardt:
> Doesn't work, but it's closer.  I can't see where a .gitignore is
> getting set, though.
I did not create any .gitignore files, so I have no explanation at this time.
-- robin
Brian Gernhardt· Jan 31, 2007, 05:39 UTC · re: Robin Rosenberg · lore

Re: [PATCH] Fail softly if file system does not like test data.

On Jan 30, 2007, at 7:14 PM, Robin Rosenberg wrote:
Show 6 quoted lines
> onsdag 31 januari 2007 00:28 skrev Brian Gernhardt:
>> Doesn't work, but it's closer.  I can't see where a .gitignore is
>> getting set, though.
>
> I did not create any .gitignore files, so I have no explanation at  
> this time.

First off, I couldn't get your patch to apply (atop master and next) and I don't know why. I did the change manually though, and still got the same error. I'm not seeing a .gitignore either, so I have no idea why the error is showing up. Anyone else have a guess?

* expecting success: (mkdir -p "å/goo/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/ 
q/r/s/t/u/v/w/x/y/z/å/ä/ö" ||
          echo "Local filesystem does not permit this test" ) &&
          echo Foo >"å/goo/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/ 
v/w/x/y/z/å/ä/ö/gårdetsågårdet.txt" &&
          git add "å/goo/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/ 
w/x/y/z/å/ä/ö/gårdetsågårdet.txt" &&
          cp ../test9200a.png "å/goo/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/ 
q/r/s/t/u/v/w/x/y/z/å/ä/ö/gårdetsågårdet.png" &&
          git add "å/goo/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/ 
w/x/y/z/å/ä/ö/gårdetsågårdet.png" &&
          git commit -a -m "Går det så går det" && \
          id=$(git rev-list --max-count=1 HEAD) &&
          (cd "$CVSWORK" &&
          git-cvsexportcommit -v -c $id &&
          test "$(echo $(sort "å/goo/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/ 
q/r/s/t/u/v/w/x/y/z/å/ä/ö/CVS/Entries"|cut -d/ -f2,3,5))" =  
"gårdetsågårdet.png/1.1/-kb gårdetsågårdet.txt/1.1/"
          )
The following paths are ignored by one of your .gitignore files:
å/goo/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y/z/å/ä/ö/ 
gårdetsågårdet.txt
Use -f if you really want to add them.
~~ Brian
Robin Rosenberg· Jan 31, 2007, 00:10 UTC · re: Robin Rosenberg · lore

Re: [PATCH] Fail softly if file system does not like test data.

    Most unix file system allow almost any byte sequence, but other may reject
    sequences that are not valid according to the locale. This change makes
    failure somewhat less likely by using UTF-8-encoded characters and skips
    the test if the local file system does not support the test data.
    
    Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
---

The first version of the patch had two errors. First it had a slash too much, then it did not clean up after test for applicability and then it was sent UTF-8 encoded which is wrong for non-utf8 systems. The patch is ment to actually have the UTF-8 byte sequences and not be translated (it should work regardless on most systems).

 t/t9200-git-cvsexportcommit.sh |   37 +++++++++++++++++++++++--------------
 1 files changed, 23 insertions(+), 14 deletions(-)
diff --git a/t/t9200-git-cvsexportcommit.sh b/t/t9200-git-cvsexportcommit.sh
index fd0a554..d0d5365 100755
--- a/t/t9200-git-cvsexportcommit.sh
+++ b/t/t9200-git-cvsexportcommit.sh
@@ -169,20 +169,29 @@ test_expect_success \
       test "$(echo $(sort "G g/CVS/Entries"|cut -d/ -f2,3,5))" = "with spaces.png/1.2/-kb with spaces.txt/1.2/"
       )'
 
-# This test contains ISO-8859-1 characters
-test_expect_success \
-     'File with non-ascii file name' \
-     'mkdir -p �goo/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y/z/���&&
-      echo Foo >�goo/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y/z/���g�dets��det.txt &&
-      git add �goo/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y/z/���g�dets��det.txt &&
-      cp ../test9200a.png �goo/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y/z/���g�dets��det.png &&
-      git add �goo/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y/z/���g�dets��det.png &&
-      git commit -a -m "G� det s�g� det" && \
-      id=$(git rev-list --max-count=1 HEAD) &&
-      (cd "$CVSWORK" &&
-      git-cvsexportcommit -v -c $id &&
-      test "$(echo $(sort �goo/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y/z/���CVS/Entries|cut -d/ -f2,3,5))" = "g�dets��det.png/1.1/-kb g�dets��det.txt/1.1/"
-      )'
+# This test contains UTF-8 characters and may fail on some filesystems
+mkdir -p "å/goo/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y/z/å/ä/ö" >/dev/null 2>&1
+if test $? -ne 0
+then
+    test_expect_success 'File with non-ascii file name skipped, file system is incompatible with test data' :
+    rm -rf "å"
+else
+    rm -rf "å"
+    test_expect_success \
+	'File with non-ascii file name' \
+	'(mkdir -p "å/goo/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y/z/å/ä/ö" ||
+         echo "Local filesystem does not permit this test" ) &&
+         echo Foo >"å/goo/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y/z/å/ä/ö/gårdetsågårdet.txt" &&
+         git add "å/goo/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y/z/å/ä/ö/gårdetsågårdet.txt" &&
+         cp ../test9200a.png "å/goo/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y/z/å/ä/ö/gårdetsågårdet.png" &&
+         git add "å/goo/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y/z/å/ä/ö/gårdetsågårdet.png" &&
+         git commit -a -m "Går det så går det" && \
+         id=$(git rev-list --max-count=1 HEAD) &&
+         (cd "$CVSWORK" &&
+         git-cvsexportcommit -v -c $id &&
+         test "$(echo $(sort "å/goo/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y/z/å/ä/ö/CVS/Entries"|cut -d/ -f2,3,5))" = "gårdetsågårdet.png/1.1/-kb gårdetsågårdet.txt/1.1/"
+         )'
+fi
 
 test_expect_success \
      'Mismatching patch should fail' \
Junio C Hamano· Jan 31, 2007, 22:17 UTC · re: Robin Rosenberg · lore

Re: [PATCH] Fail softly if file system does not like test data.

Your patch does not seem to apply. I wonder if the test path needs to be that looooooooooooong to begin with.

One thing I noticed on Cygwin is that from inside Cygwin environment t/trash directory becomes unremovable after the original test fails.

I am wondering what use it would be to have ISO-8859-1 pathnames in our test. As far as the test is concerned I think the point is to try non-ASCII paths, so I suspect this patch might be less of an impact.

Sorry for sending an attachement but in this case the patch text is _not_ in any particular encoding (the preimage is ISO-8859-1 but the postimage is in UTF-8) and transferring it as a textual patch over e-mail is not possible without a way to annotate each line which encoding it is in.

diff --git a/t/t9200-git-cvsexportcommit.sh b/t/t9200-git-cvsexportcommit.sh
index fd0a554..cc0a254 100755
--- a/t/t9200-git-cvsexportcommit.sh
+++ b/t/t9200-git-cvsexportcommit.sh
@@ -169,19 +169,19 @@ test_expect_success \
       test "$(echo $(sort "G g/CVS/Entries"|cut -d/ -f2,3,5))" = "with spaces.png/1.2/-kb with spaces.txt/1.2/"
       )'
 
-# This test contains ISO-8859-1 characters
+# This test contains UTF-8 characters
 test_expect_success \
      'File with non-ascii file name' \
-     'mkdir -p �/goo/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y/z/�/�/� &&
-      echo Foo >�/goo/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y/z/�/�/�/g�rdets�g�rdet.txt &&
-      git add �/goo/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y/z/�/�/�/g�rdets�g�rdet.txt &&
-      cp ../test9200a.png �/goo/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y/z/�/�/�/g�rdets�g�rdet.png &&
-      git add �/goo/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y/z/�/�/�/g�rdets�g�rdet.png &&
-      git commit -a -m "G�r det s� g�r det" && \
+     'mkdir -p ��/goo/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y/z/��/��/�� &&
+      echo Foo >��/goo/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y/z/��/��/��/g��rdets��g��rdet.txt &&
+      git add ��/goo/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y/z/��/��/��/g��rdets��g��rdet.txt &&
+      cp ../test9200a.png ��/goo/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y/z/��/��/��/g��rdets��g��rdet.png &&
+      git add ��/goo/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y/z/��/��/��/g��rdets��g��rdet.png &&
+      git commit -a -m "G��r det s�� g��r det" && \
       id=$(git rev-list --max-count=1 HEAD) &&
       (cd "$CVSWORK" &&
       git-cvsexportcommit -v -c $id &&
-      test "$(echo $(sort �/goo/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y/z/�/�/�/CVS/Entries|cut -d/ -f2,3,5))" = "g�rdets�g�rdet.png/1.1/-kb g�rdets�g�rdet.txt/1.1/"
+      test "$(echo $(sort ��/goo/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y/z/��/��/��/CVS/Entries|cut -d/ -f2,3,5))" = "g��rdets��g��rdet.png/1.1/-kb g��rdets��g��rdet.txt/1.1/"
       )'
 
 test_expect_success \
Robin Rosenberg· Jan 31, 2007, 22:36 UTC · re: Junio C Hamano · lore

Re: [PATCH] Fail softly if file system does not like test data.

onsdag 31 januari 2007 23:17 skrev Junio C Hamano:
> Your patch does not seem to apply.  I wonder if the test path
> needs to be that looooooooooooong to begin with.

Not really. I had some thought when I did it, but can't recall what it was. Perhaps I wanted to verify that the data I was reading from git-diff wasn't truncated. I've pruned that part of memory.

> One thing I noticed on Cygwin is that from inside Cygwin
> environment t/trash directory becomes unremovable after the
> original test fails.
one more interesting thing..
> I am wondering what use it would be to have ISO-8859-1 pathnames
> in our test.  As far as the test is concerned I think the point
> is to try non-ASCII paths, so I suspect this patch might be less
> of an impact.
Yes. Anything non-ascii will do.
Show 5 quoted lines
> Sorry for sending an attachement but in this case the patch text
> is _not_ in any particular encoding (the preimage is ISO-8859-1
> but the postimage is in UTF-8) and transferring it as a textual
> patch over e-mail is not possible without a way to annotate each
> line which encoding it is in.

That patch didn't apply here, not even Lets try the old uuencode format. (this is my patch once again wrapped by uuencode).

-- robin

begin 644 patch.uu M8V]M;6ET(#AE-V(W,38P-#@S.3`U,F9F-6-F-S1E-SAD,C=F865B,60Q930W M.3(*075T:&]R.B!2;V)I;B!2;W-E;F)E<F<@/')O8FEN+G)O<V5N8F5R9T!D M97=I<F4N8V]M/@I$871E.B`@(%=E9"!*86X@,S$@,C(Z,#,Z,#(@,C`P-R`K M,#$P,`H*("`@($9A:6P@<V]F=&QY(&EF(&9I;&4@<WES=&5M(&1O97,@;F]T M(&QI:V4@=&5S="!D871A+@H@("`@"B`@("!-;W-T('5N:7@@9FEL92!S>7-T M96T@86QL;W<@86QM;W-T(&%N>2!B>71E('-E<75E;F-E+"!B=70@;W1H97(@ M;6%Y(')E:F5C=`H@("`@<V5Q=65N8V5S('1H870@87)E(&YO="!V86QI9"!A M8V-O<F1I;F<@=&\@=&AE(&QO8V%L92X@5&AI<R!C:&%N9V4@;6%K97,*("`@ M(&9A:6QU<F4@<V]M97=H870@;&5S<R!L:6ME;'D@8GD@=7-I;F<@551&+3@M M96YC;V1E9"!C:&%R86-T97)S(&%N9"!S:VEP<PH@("`@=&AE('1E<W0@:68@ M=&AE(&QO8V%L(&9I;&4@<WES=&5M(&1O97,@;F]T('-U<'!O<G0@=&AE('1E M<W0@9&%T82X*("`@(`H@("`@4VEG;F5D+6]F9BUB>3H@4F]B:6X@4F]S96YB M97)G(#QR;V)I;BYR;W-E;F)E<F=`9&5W:7)E+F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