index fa21dd364833f07d5c11586dedb477ea2666103e..9c9fb0cf17de6c5b08d60010abac317bd04b12e0 100755 (executable)
--- a/t/integration/filter.sh
+++ b/t/integration/filter.sh
sleep 3
output="$( run_sysdb -H "$SOCKET_FILE" \
- -c "LOOKUP hosts MATCHING attribute != 'architecture'
+ -c "LOOKUP hosts MATCHING ANY attribute != 'architecture'
FILTER .age >= 0s" )"
echo "$output" \
| grep -F '"some.host.name"' \
echo "$output" | grep -F 'host2.example.com' && exit 1
output="$( run_sysdb -H "$SOCKET_FILE" \
- -c "LOOKUP hosts MATCHING attribute != 'architecture'
+ -c "LOOKUP hosts MATCHING ANY attribute != 'architecture'
FILTER .last_update < 2Y" )"
echo $output | grep -E '^\[\]$'