bug-coreutils
[Top][All Lists]
Advanced

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

bug#6768: ls: fix a test failure that should have been skipped


From: Eric Blake
Subject: bug#6768: ls: fix a test failure that should have been skipped
Date: Mon, 09 Aug 2010 08:54:44 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.7) Gecko/20100720 Fedora/3.1.1-1.fc13 Lightning/1.0b2pre Mnenhy/0.8.3 Thunderbird/3.1.1

On 07/30/2010 07:49 PM, address@hidden wrote:
> Hi,
> 
> I just ran into this one test failure while building the latest sources.  The
> test didn't really fail, but the exit via the function invoked in $() doesn't
> terminate the test script, it simply terminates the substitution command.
> 
> Here are the bits where it failed:
> 
> ++ case $base in
> ++ skip_test_ 'mount point component starts with "."'
> ...
> ++ exit 77
> + readdir_inode=
> ++ env stat --format=%i /home/dsh/.gvfs

Thanks; applied.

> Subject: [PATCH] ls: fix a test failure that should have been skipped
> 
> * tests/ls/readdir-mountpoint-inode: Check to see if skip_test_ is
> called in a helper function via $() instead of mistakenly failing.

>  for dir in $mount_points; do
>    readdir_inode=$(inode_via_readdir $dir)
> +  test $? = 77 && continue

-- 
Eric Blake   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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