tests: Get rid of df warnings

Like "Transport endpoint is not connected" when there is
a stale FUSE mount lying around
This commit is contained in:
Jakob Unterwurzacher 2014-11-23 21:17:27 +01:00
parent 1b5cde2273
commit 43a1cd3344

View File

@ -191,7 +191,7 @@ sub truncate
sub fileCreation
{
# create a file
qx(df -ah > "$crypt/df.txt");
qx(df -ah > "$crypt/df.txt" 2> /dev/null);
ok( -f "$crypt/df.txt", "file created" );
# ensure there is an encrypted version.