5 our ($VERSION, @ISA, @EXPORT, @EXPORT_OK, %EXPORT_TAGS);
7 @EXPORT_OK = qw($_loop $_point $_pidfile $_real);
8 our($_loop, $_point, $_pidfile, $_real) = ("examples/loopback.pl","/mnt","test/s/mounted.pid","/tmp/fusetest");
9 if($0 !~ qr|s/u?mount\.t$|) {
12 unless(system("ps `cat $_pidfile` | grep \"$_loop $_point\" >/dev/null")>>8) {
13 if(`mount | grep "on $_point"`) {
16 system("kill `cat $_pidfile`");
20 $reject = 1 if (system("ls $_point >&/dev/null") >> 8);
21 die "not properly mounted\n" if $reject;