From eb1d25e16f60e1c2b1e6b8046cd438060f3378e6 Mon Sep 17 00:00:00 2001 From: Tomas Halman Date: Jan 19 2023 20:22:23 +0000 Subject: Hide mkfifo error message Under some fakeroot implementation mkfifo does not work but the test works without it well. This patch hides the error message so we do not confuse the packager with false positive. --- diff --git a/tests/fs_test b/tests/fs_test index 2627a20..1f52083 100755 --- a/tests/fs_test +++ b/tests/fs_test @@ -82,7 +82,7 @@ test_lu_homedir_remove() { # User's "own" content mkdir -p "$workdir"/rm/root/{dir,unreadable} touch "$workdir"/rm/{kept,root/{dir,unreadable}/f} - mkfifo "$workdir"/rm/root/fifo + mkfifo "$workdir"/rm/root/fifo 2>/dev/null ln -s ../kept "$workdir"/rm/root/symlink chown -R 555:555 "$workdir"/rm/root chmod 701 "$workdir"/rm/root @@ -199,7 +199,7 @@ create_source_directory() { # User's "own" content for i in "$1" "$1"/dir "$1"/group-owned; do touch "$i"/f "$i"/setuid - mkfifo "$i"/fifo + mkfifo "$i"/fifo 2>/dev/null ln -s ../outside "$i"/symlink done mkdir "$1"/setgid