File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -223,6 +223,12 @@ sed -i -e "s|---dis ||g" tests/tail/overlay-headers.sh
223223# Do not FAIL, just do a regular ERROR
224224" ${SED} " -i -e " s|framework_failure_ 'no inotify_add_watch';|fail=1;|" tests/tail/inotify-rotate-resources.sh
225225
226+ # The notify crate makes inotify_add_watch calls in a background thread, so strace needs -f to follow threads.
227+ # Also remove the HAVE_INOTIFY header check since that's for C builds.
228+ " ${SED} " -i -e " s|grep '^#define HAVE_INOTIFY 1' \"\$ CONFIG_HEADER\" >/dev/null && is_local_dir_ \. |is_local_dir_ . |" \
229+ -e " s|strace -e inotify_add_watch|strace -f -e inotify_add_watch|" \
230+ tests/tail/inotify-dir-recreate.sh
231+
226232test -f " ${UU_BUILD_DIR} /getlimits" || cp src/getlimits " ${UU_BUILD_DIR} "
227233
228234# pr produces very long log and this command isn't super interesting
You can’t perform that action at this time.
0 commit comments