From 203600bb9ce9df8b369b9dc6f23318aa62e3cd5b Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Tue, 2 Jan 2024 00:42:52 +0100 Subject: [PATCH] tail: transform FAIL into ERROR for tests/tail/inotify-rotate-resources.sh --- util/build-gnu.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/util/build-gnu.sh b/util/build-gnu.sh index 8ade25e88..33f8b8aaa 100755 --- a/util/build-gnu.sh +++ b/util/build-gnu.sh @@ -216,6 +216,9 @@ sed -i -e "s|rm: cannot remove 'rel': Permission denied|rm: cannot remove 'rel': # however there's a bug because `---dis` is an alias for: `---disable-inotify` sed -i -e "s|---dis ||g" tests/tail/overlay-headers.sh +# Do not FAIL, just do a regular ERROR +sed -i -e "s|framework_failure_ 'no inotify_add_watch';|fail=1;|" tests/tail/inotify-rotate-resources.sh + test -f "${UU_BUILD_DIR}/getlimits" || cp src/getlimits "${UU_BUILD_DIR}" # pr produces very long log and this command isn't super interesting