From da7eb1fc8e1ba94c2ba645d8b9ec2823ca0114c7 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 13 Apr 2018 15:12:35 +0200 Subject: bin/sanity-check: test if left-over mysql query is still there after 5 seconds --- bin/sanity-check | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bin') diff --git a/bin/sanity-check b/bin/sanity-check index c67f2ab..06da288 100755 --- a/bin/sanity-check +++ b/bin/sanity-check @@ -417,6 +417,8 @@ while [ $# -gt 0 ]; do errors=$( find "${work_dir}" -mindepth 1 -maxdepth 1 \ -name 'tmp.mysql-functions.query.*' \ + -exec sleep 5 \; \ + -exec test -s {} \; \ -printf '%f\n' \ -execdir sed 's/^/>> /' '{}' \; ) -- cgit v1.2.3-70-g09d2