monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Monotone-devel] chmod on Win32 MinGW


From: Stephen Leake
Subject: [Monotone-devel] chmod on Win32 MinGW
Date: Sat, 01 Sep 2007 10:20:15 -0400
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (windows-nt)

These tests are now failing on Win32 MinGW:

113 checkout_validates_target_directory           FAIL (line 24)
118 clone_validates_target_directory              FAIL (line 26)

They both rely on chmod and permission enforcing. Reproducing the
basic operations in a MinGW Msys shell shows that it does _not_
enforce permissions:

$ mkdir test_dir4
$ ls -ld test_dir4/
drwxr-xr-x    2 stephe   Administ        0 Sep  1 10:08 test_dir4/
$ chmod 444 test_dir4/
$ ls -ld test_dir4/
dr-xr-xr-x    2 stephe   Administ        0 Sep  1 10:08 test_dir4/
$ mkdir test_dir4/subdir
$ ls test_dir4/
subdir

So it makes sense that the test should fail.

However, these have been present since February, and used to pass!

Perhaps something changed in MinGW?

Anyway, I'll add a partial skip on Windows to these tests.

-- 
-- Stephe





reply via email to

[Prev in Thread] Current Thread [Next in Thread]