From 31ce89e7d9272d01a749737c9622e8eff2d8a112 Mon Sep 17 00:00:00 2001 From: Evgeny Vereshchagin Date: Fri, 16 Feb 2018 16:26:26 +0300 Subject: [PATCH] tests: reset _found at the end of each iteration (#8195) This makes `inst_rules` really print all rules it skips. --- test/test-functions | 1 + 1 file changed, 1 insertion(+) diff --git a/test/test-functions b/test/test-functions index 75796a09add..2ece55414a9 100644 --- a/test/test-functions +++ b/test/test-functions @@ -1058,6 +1058,7 @@ inst_rules() { fi done [[ $_found ]] || dinfo "Skipping udev rule: $_rule" + _found= done }