From: Derrik Pates Date: Fri, 29 Jul 2011 18:39:55 +0000 (-0600) Subject: README update, and use full path to mount when checking mounted FSes. X-Git-Url: http://git.rot13.org/?a=commitdiff_plain;h=576c7e62d4253b199ec93e5c4fe612cb2115f454;p=perl-fuse.git README update, and use full path to mount when checking mounted FSes. --- diff --git a/README b/README index 8a0d77b..3e15e9a 100644 --- a/README +++ b/README @@ -78,8 +78,9 @@ unmount infrastructure is a crock. I am not pleased with that code. While most things work, I do still have a TODO list: * need to sort out cleaner mount semantics for the test framework -* determine why getattr() test on OS X/Darwin is very slow; succeeds, but - very slowly +* Do getattr() test in a way that doesn't depend on sparse files, as HFS+ + doesn't support sparse files, thus causing getattr test to take a very + long time. Currently tests have been attempted and succeeded on: * Ubuntu 10.10/amd64 diff --git a/test/s/mount.t b/test/s/mount.t index 46ca258..c56fdc1 100644 --- a/test/s/mount.t +++ b/test/s/mount.t @@ -5,7 +5,7 @@ use Errno qw(:POSIX); use Test::More tests => 3; sub is_mounted { - my $diag = -e '/proc/mounts' ? `cat /proc/mounts` : `mount`; + my $diag = -e '/proc/mounts' ? `cat /proc/mounts` : ($^O eq 'linux' ? `/bin/mount` : `/sbin/mount`); return $diag =~ m{ (?:/private)?$_point }; }