[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Success (mostly) with the testsuite
From: |
Akim Demaille |
Subject: |
Re: Success (mostly) with the testsuite |
Date: |
25 Oct 2000 18:09:39 +0200 |
User-agent: |
Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands) |
>>>>> "David" == David Morgan <address@hidden> writes:
David> Akim Demaille wrote:
>> | The script results are: | | . | 1
>>
>> Does it *always* fail, or it's just the operator | which does not
>> erase failures?
>>
>> expr 'a' : '\(a\)'; echo $?
>>
>> expr 'a' : '\(b\)' '|' 'a' : '\(a\)'; echo $?
David> It always fails
David> Both cases return 'a' and an exit code of 1.
David> Looks like a buggy OS at this point as I tried the failure case
David> of just
David> expr 'a' : '\(b\)' ; echo $?
David> And I get a 0 with no output.
Nia? Are you saying `expr' is always exiting the negation of the
expected answer?
expr 'a' : '\(a\)' || echo failure
expr 'a' : '\(b\)' && echo failure
gives twice failure? How does the following behave?
expr 'a' : 'a' || echo failure
expr 'a' : 'b' && echo failure
- Re: Success (mostly) with the testsuite, (continued)
- Re: Success (mostly) with the testsuite, David Morgan, 2000/10/24
- Re: Success (mostly) with the testsuite, Pavel Roskin, 2000/10/24
- Re: Success (mostly) with the testsuite, David Morgan, 2000/10/24
- Re: Success (mostly) with the testsuite, Pavel Roskin, 2000/10/24
- Re: Success (mostly) with the testsuite, David Morgan, 2000/10/24
- Re: Success (mostly) with the testsuite, David Morgan, 2000/10/24
- Re: Success (mostly) with the testsuite, Akim Demaille, 2000/10/25
- Re: Success (mostly) with the testsuite, David Morgan, 2000/10/25
- Re: Success (mostly) with the testsuite, Akim Demaille, 2000/10/25
- Re: Success (mostly) with the testsuite, David Morgan, 2000/10/25
- Re: Success (mostly) with the testsuite,
Akim Demaille <=
- Re: Success (mostly) with the testsuite, David Morgan, 2000/10/25
- Re: Success (mostly) with the testsuite, Paul Eggert, 2000/10/26
- Re: Success (mostly) with the testsuite, Akim Demaille, 2000/10/26
- Re: Success (mostly) with the testsuite, Alexandre Oliva, 2000/10/26
- Re: Success (mostly) with the testsuite, Akim Demaille, 2000/10/26
- Various systems (was: Success (mostly) with the testsuite), Akim Demaille, 2000/10/25
- Re: Various systems (was: Success (mostly) with the testsuite), David Morgan, 2000/10/25
- Re: Various systems (was: Success (mostly) with the testsuite), Akim Demaille, 2000/10/25
- Re: Various systems (was: Success (mostly) with the testsuite), David Morgan, 2000/10/25
- Re: Various systems (was: Success (mostly) with the testsuite), Akim Demaille, 2000/10/25