From: Pádraig Brady
Date: Thu, 5 Feb 2015 16:32:49 +0000 (+0000)
Subject: tests: fix recent regression in tail inotify test
X-Git-Tag: v8.24~131
X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=81609dc1ea66b97e6aaf373538deddc283cbd6c6;p=thirdparty%2Fcoreutils.git
tests: fix recent regression in tail inotify test
* tests/tail-2/inotify-rotate.sh (cleanup_fail_): Set fail=1
so that failures are identified. Regression in v8.23-63-g111a2b9
Also use print_ver_ rather than open coding --verbose support.
Also check for more than a single 'b' which seems brittle.
---
diff --git a/tests/tail-2/inotify-rotate.sh b/tests/tail-2/inotify-rotate.sh
index 63ab2f1d23..913bf992cb 100755
--- a/tests/tail-2/inotify-rotate.sh
+++ b/tests/tail-2/inotify-rotate.sh
@@ -16,12 +16,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see