diff --git a/test/functional/tools/output_filter.xml b/test/functional/tools/output_filter.xml
index 584f2f43cf3..d54c3f8ae93 100644
--- a/test/functional/tools/output_filter.xml
+++ b/test/functional/tools/output_filter.xml
@@ -9,13 +9,54 @@ echo '5' > 5 &&
echo 'p1.forward' > p1.forward &&
echo 'p1.reverse' > p1.reverse &&
echo 'p2.forward' > p2.forward &&
-echo 'p2.reverse' > p2.reverse
+echo 'p2.reverse' > p2.reverse
+#for $r in $repeat
+ #if $r.cond.select == "a" and $r.cond.inner_cond.inner_select == "2"
+ && echo "$r.cond.inner_cond.text" >> repeat_cond.txt
+ #end if
+#end for
]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -34,6 +75,9 @@ echo 'p2.reverse' > p2.reverse
produce_paired_collection is True
+
+ any( [ r["cond"]["select"] == "a" and r["cond"]["inner_cond"]["inner_select"] == "2" for r in repeat ] )
+
@@ -98,6 +142,15 @@ echo 'p2.reverse' > p2.reverse
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+