summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2b9b5d9)
raw | patch | inline | side by side (parent: 2b9b5d9)
author | Sebastian Harl <sh@tokkee.org> | |
Wed, 30 Apr 2014 21:50:09 +0000 (23:50 +0200) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Wed, 30 Apr 2014 21:50:09 +0000 (23:50 +0200) |
t/integration/simple_query.sh | patch | blob | history |
index 9a317d97fa24b4dec000c2049244a6ddf5258146..d413b997ea4e6d422c2747e422904bda17eed398 100755 (executable)
echo "$output" | grep -F 'other.host.name' && exit 1
echo "$output" | grep -F 'some.host.name' && exit 1
+output="$( $SYSDB -H "$SOCKET_FILE" -c "FETCH 'does.not.exist'" )" \
+ && exit 1
+echo "$output" | grep -F 'not found'
+
output="$( $SYSDB -H "$SOCKET_FILE" \
-c "LOOKUP hosts WHERE attribute.architecture = 'x42'" )"
echo "$output" \