Code

frontend/grammar: Changed '<obj> <cmp> <expr>' to 'ANY <obj> <cmp> <expr>'.
[sysdb.git] / t / integration / filter.sh
index fa21dd364833f07d5c11586dedb477ea2666103e..9c9fb0cf17de6c5b08d60010abac317bd04b12e0 100755 (executable)
@@ -49,7 +49,7 @@ wait_for_sysdbd
 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"' \
@@ -59,7 +59,7 @@ echo "$output" | grep -F 'host1.example.com' && exit 1
 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 '^\[\]$'