[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Testcase for cd -@ / O_XATTR
From: |
Chet Ramey |
Subject: |
Re: Testcase for cd -@ / O_XATTR |
Date: |
Wed, 06 Nov 2013 22:23:41 -0500 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.0.1 |
On 11/5/13, 5:20 PM, Lionel Cons wrote:
> Chet, below is a simple testcase for cd -@ / O_XATTR support:
>
> ./bash -c 'set -o errexit ; touch foo ; runat foo "echo hello1
>> myxattr" ; cd -@ foo ; exec {n}<>myxattr ; cd -P .. ; cat <&$n ;
> true'
>
> This should print 'hello1'.
>
> Any suggestion where this test can be placed?
I'll think about it. I generally don't like to add test cases for features
that are available on so few platforms.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/