From 24f1af88c79de353fb51ab4eecad99143c4e16fd Mon Sep 17 00:00:00 2001 From: Dan Hipschman Date: Fri, 30 Jul 2010 18:49:02 -0700 Subject: 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. * THANKS: Update. --- tests/ls/readdir-mountpoint-inode | 1 + 1 file changed, 1 insertion(+) (limited to 'tests') diff --git a/tests/ls/readdir-mountpoint-inode b/tests/ls/readdir-mountpoint-inode index 2285e9225..63378b64c 100755 --- a/tests/ls/readdir-mountpoint-inode +++ b/tests/ls/readdir-mountpoint-inode @@ -64,6 +64,7 @@ inode_via_readdir() for dir in $mount_points; do readdir_inode=$(inode_via_readdir $dir) + test $? = 77 && continue stat_inode=$(env stat --format=%i $dir) # If stat fails or says the inode is 0, skip $dir. case $stat_inode in 0|'') continue;; esac -- cgit v1.2.3-70-g09d2