X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=test%2Fs%2Fumount.t;h=0fec9b345e42c3bef6db8f84875737e2f9a866bc;hb=377665d81c5d789622229a76d7f4af984f5d14fb;hp=da60677a5009cea1e2b0996b4a5474fc3b10a748;hpb=4b86c152d8a4923246a7d3a5143f0a01b1dfd702;p=perl-fuse.git diff --git a/test/s/umount.t b/test/s/umount.t index da60677..0fec9b3 100644 --- a/test/s/umount.t +++ b/test/s/umount.t @@ -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");