calls mount instread of cat /proc/mountpoints to make it less Linux specific
authorDobrica Pavlinusic <dpavlin@rot13.org>
Thu, 15 Nov 2007 09:23:22 +0000 (09:23 +0000)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Thu, 15 Nov 2007 09:23:22 +0000 (09:23 +0000)
git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/fuse/perl-llin@111 6e4b0b00-1209-0410-87b2-b275959b5705

test/s/mount.t

index affd658..2275e18 100644 (file)
@@ -20,7 +20,7 @@ if(!fork()) {
 my ($success, $count) = (0,0);
 while ($count++ < 50 && !$success) {
        select(undef, undef, undef, 0.1);
-    ($success) = `cat /proc/mounts` =~ / $_point /;
+          ($success) = `mount` =~ / $_point /;
 }
 diag "Mounted in ", $count/10, " secs";