index c96f7abea9c94cc8432a3ed27ff39268b3c60cd6..8b25ed3cc062627115f32bdb45e62abde3a54b66 100755 (executable)
echo "$output" | grep -F 'host2.example.com' && exit 1
output="$( run_sysdb -H "$SOCKET_FILE" \
- -c "LOOKUP hosts MATCHING host =~ 'example.com'" )"
+ -c "LOOKUP hosts MATCHING name =~ 'example.com'" )"
echo "$output" \
| grep -F '"host1.example.com"' \
| grep -F '"host2.example.com"'