X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;ds=sidebyside;f=t%2Fintegration%2Fsimple_query.sh;h=ef12bf8f2dbf1a735ff284c7cfb8b084b19098c9;hb=33d51d5f84495bc8d7805c2370af45948e46c30b;hp=a474a524367eb213b1e8f614c3ea085b25a0fa64;hpb=ea9e77cb6bee990c4087a8cefc9d8cc2311b39d1;p=sysdb.git diff --git a/t/integration/simple_query.sh b/t/integration/simple_query.sh index a474a52..ef12bf8 100755 --- a/t/integration/simple_query.sh +++ b/t/integration/simple_query.sh @@ -98,7 +98,7 @@ echo "$output" | grep -F 'other.host.name' && exit 1 echo "$output" | grep -F 'some.host.name' && exit 1 output="$( run_sysdb -H "$SOCKET_FILE" \ - -c "LOOKUP hosts WHERE attribute.name != 'architecture'" )" + -c "LOOKUP hosts WHERE attribute != 'architecture'" )" echo "$output" \ | grep -F '"some.host.name"' \ | grep -F '"localhost"' @@ -107,7 +107,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 WHERE service.name = 'sysdbd'" )" + -c "LOOKUP hosts WHERE service = 'sysdbd'" )" echo "$output" | grep -F '"localhost"' echo "$output" | grep -F 'some.host.name' && exit 1 echo "$output" | grep -F 'other.host.name' && exit 1 @@ -115,7 +115,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 WHERE host.name =~ 'example.com'" )" + -c "LOOKUP hosts WHERE host =~ 'example.com'" )" echo "$output" \ | grep -F '"host1.example.com"' \ | grep -F '"host2.example.com"'