mirror of
https://github.com/vgough/encfs.git
synced 2025-02-18 10:41:11 +01:00
tests: Fix fusermount detection in tests.t
Used to fail with Unsuccessful stat on filename containing newline at tests.t line 196. umount: /tmp/crypt-11388: Permission denied not ok 44 - unmount ok, mount point removed # Failed test 'unmount ok, mount point removed' # at tests.t line 205 now all tests pass.
This commit is contained in:
parent
3b5035893d
commit
d9c7d52b89
@ -193,6 +193,7 @@ sub mount
|
|||||||
sub cleanup
|
sub cleanup
|
||||||
{
|
{
|
||||||
my $fusermount = qx(which fusermount);
|
my $fusermount = qx(which fusermount);
|
||||||
|
chomp($fusermount);
|
||||||
if(-f $fusermount)
|
if(-f $fusermount)
|
||||||
{
|
{
|
||||||
qx($fusermount -u "$crypt");
|
qx($fusermount -u "$crypt");
|
||||||
|
Loading…
Reference in New Issue
Block a user