From 20432749c17663d422e65c0bff99c019af0f16f4 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 23 Jan 2018 16:59:26 +0100 Subject: tests: suppress warning for old sync(1) Old sync(1) prints a warning which looks ugly among our test output: "sync: ignoring all arguments" Seen on travis, Ubuntu <= 14.04 (Trusty). Signed-off-by: Ruediger Meier --- tests/functions.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/functions.sh') diff --git a/tests/functions.sh b/tests/functions.sh index ef11a893e..d1c97e0b6 100644 --- a/tests/functions.sh +++ b/tests/functions.sh @@ -635,7 +635,7 @@ function ts_fstab_open { function ts_fstab_close { echo "# -->" >> /etc/fstab - sync /etc/fstab + sync /etc/fstab 2>/dev/null } function ts_fstab_addline { @@ -669,7 +669,7 @@ function ts_fstab_clean { s/# //; /^$/d" /etc/fstab - sync /etc/fstab + sync /etc/fstab 2>/dev/null ts_unlock "fstab" } -- cgit v1.2.3-55-g7522