From 43a1cd3344ce7b0772b94477dc0456c4365a42fa Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Sun, 23 Nov 2014 21:17:27 +0100 Subject: [PATCH] tests: Get rid of df warnings Like "Transport endpoint is not connected" when there is a stale FUSE mount lying around --- tests/normal.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/normal.pl b/tests/normal.pl index 468eeb0..2badb01 100644 --- a/tests/normal.pl +++ b/tests/normal.pl @@ -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.