On 07/30/2010 07:49 PM, dsh@linux.ucla.edu 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 eblake@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org