[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: rcs-5.8 test failure
From: |
Paul Eggert |
Subject: |
Re: rcs-5.8 test failure |
Date: |
Tue, 18 Oct 2011 09:15:26 -0700 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.23) Gecko/20110928 Fedora/3.1.15-1.fc14 Thunderbird/3.1.15 |
On 10/17/11 17:48, Mr. Aaron W. Swenson wrote:
> On a side note, how about using:
>
> touch -c $wd/toe &> /dev/null && dont_check_readonly=true
>
> To test for whether or not it's read-only? You wouldn't have to cleanup
> after yourself then.
We need to create a file of some sort, in order to test
whether you can write to it. Since "touch -c" doesn't
create a file, there'd be no file to test.
> And isn't 'umask a-w' useless, or am I missing something?
It affects the behavior of the ">$wd/toe" later in that script,
by making $wd/toe unwritable. Typically umask (a shell builtin)
is much faster than chmod (an executable).
- rcs-5.8 test failure, IAN DELANEY, 2011/10/13
- Re: rcs-5.8 test failure, Thien-Thi Nguyen, 2011/10/14
- Re: rcs-5.8 test failure, Mr. Aaron W. Swenson, 2011/10/17
- Re: rcs-5.8 test failure, Paul Eggert, 2011/10/17
- Re: rcs-5.8 test failure, Thien-Thi Nguyen, 2011/10/17
- Re: rcs-5.8 test failure, Paul Eggert, 2011/10/17
- Re: rcs-5.8 test failure, Karl Berry, 2011/10/17
- Re: rcs-5.8 test failure, Paul Eggert, 2011/10/17
- Re: rcs-5.8 test failure, Mr. Aaron W. Swenson, 2011/10/18
- Re: rcs-5.8 test failure, Thien-Thi Nguyen, 2011/10/18
- Re: rcs-5.8 test failure,
Paul Eggert <=
- Re: rcs-5.8 test failure, Thien-Thi Nguyen, 2011/10/17