Code

store: Don't special case negated matchers in the ANY matcher.
[sysdb.git] / t / integration / filter.sh
index 9c9fb0cf17de6c5b08d60010abac317bd04b12e0..b4930b4e04ddf279d4c29de555193391c5c1eedb 100755 (executable)
@@ -52,11 +52,11 @@ output="$( run_sysdb -H "$SOCKET_FILE" \
        -c "LOOKUP hosts MATCHING ANY attribute != 'architecture' 
                FILTER .age >= 0s" )"
 echo "$output" \
-       | grep -F '"some.host.name"' \
        | grep -F '"localhost"'
-echo "$output" | grep -F 'other.host.name' && exit 1
-echo "$output" | grep -F 'host1.example.com' && exit 1
-echo "$output" | grep -F 'host2.example.com' && exit 1
+echo "$output" | grep -F 'some.host.name' && exit 1
+#echo "$output" | grep -F 'other.host.name' && exit 1
+#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 ANY attribute != 'architecture'