Parent Directory | Revision Log | Patch
revision 111 by dpavlin, Mon Jan 2 19:50:33 2006 UTC | revision 112 by dpavlin, Thu Nov 15 09:32:08 2007 UTC | |
---|---|---|
# | Line 4 use strict; | Line 4 use strict; |
4 | use Test::More tests => 1; | use Test::More tests => 1; |
5 | use POSIX qw(WEXITSTATUS); | use POSIX qw(WEXITSTATUS); |
6 | system("fusermount -u $_point"); | system("fusermount -u $_point"); |
7 | if(POSIX::WEXITSTATUS($?) != 0) { | |
8 | system("umount $_point"); | |
9 | } | |
10 | ok(POSIX::WEXITSTATUS($?) == 0,"unmount"); | ok(POSIX::WEXITSTATUS($?) == 0,"unmount"); |
11 | system("rm -rf $_real $_pidfile"); | system("rm -rf $_real $_pidfile"); |
12 | rmdir($_point); | rmdir($_point); |
|
ViewVC Help | |
Powered by ViewVC 1.1.26 |