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