index 025cd57911f81b1cc1c1310bba92fbfda2698d79..fa21dd364833f07d5c11586dedb477ea2666103e 100755 (executable)
--- a/t/integration/filter.sh
+++ b/t/integration/filter.sh
echo $output | grep -E '^\[\]$'
output="$( run_sysdb -H "$SOCKET_FILE" \
- -c "LOOKUP hosts FILTER .backend = 'backend::mock_plugin'" )"
+ -c "LOOKUP hosts FILTER 'backend::mock_plugin' IN .backend" )"
echo "$output" \
| grep -F '"host1.example.com"' \
| grep -F '"host2.example.com"' \
| grep -F '"other.host.name"' \
| grep -F '"some.host.name"'
output="$( run_sysdb -H "$SOCKET_FILE" \
- -c "LOOKUP hosts FILTER .backend = 'invalid'" )"
+ -c "LOOKUP hosts FILTER 'invalid' IN .backend" )"
echo $output | grep -E '^\[\]$'
stop_sysdbd