projects
/
perl-fuse.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
52ab81a
)
README update, and use full path to mount when checking mounted FSes.
author
Derrik Pates
<demon@now.ai>
Fri, 29 Jul 2011 18:39:55 +0000
(12:39 -0600)
committer
Derrik Pates
<demon@now.ai>
Fri, 29 Jul 2011 18:39:55 +0000
(12:39 -0600)
README
patch
|
blob
|
history
test/s/mount.t
patch
|
blob
|
history
diff --git
a/README
b/README
index
8a0d77b
..
3e15e9a
100644
(file)
--- 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
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
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
(file)
--- 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 {
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 };
}
return $diag =~ m{ (?:/private)?$_point };
}