--- perl-llin/test/s/umount.t 2007/11/15 09:23:22 111 +++ perl-llin/test/s/umount.t 2007/11/15 09:32:08 112 @@ -4,6 +4,9 @@ use Test::More tests => 1; use POSIX qw(WEXITSTATUS); system("fusermount -u $_point"); +if(POSIX::WEXITSTATUS($?) != 0) { + system("umount $_point"); +} ok(POSIX::WEXITSTATUS($?) == 0,"unmount"); system("rm -rf $_real $_pidfile"); rmdir($_point);