From: Richard Dawe <rich(at)phekda(dot)gotadsl(dot)co(dot)uk>
[perl-fuse.git] / test / s / umount.t
index da60677..0fec9b3 100644 (file)
@@ -2,6 +2,8 @@
 use test::helper qw($_point $_real $_pidfile);
 use strict;
 use Test::More tests => 1;
-system("umount $_point");
-ok(1,"unmount");
+use POSIX qw(WEXITSTATUS);
+#system("umount $_point");
+system("fusermount -u $_point");
+ok(POSIX::WEXITSTATUS($?) == 0,"unmount");
 system("rm -rf $_real $_pidfile");