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:
Jakob Unterwurzacher 2014-10-19 20:29:46 +02:00
parent 3b5035893d
commit d9c7d52b89

View File

@ -193,6 +193,7 @@ sub mount
sub cleanup
{
my $fusermount = qx(which fusermount);
chomp($fusermount);
if(-f $fusermount)
{
qx($fusermount -u "$crypt");