summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f7f921b)
raw | patch | inline | side by side (parent: f7f921b)
author | Sebastian Harl <sh@tokkee.org> | |
Sun, 1 Mar 2015 18:16:23 +0000 (19:16 +0100) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Sun, 1 Mar 2015 18:16:23 +0000 (19:16 +0100) |
t/integration/query.sh | patch | blob | history |
diff --git a/t/integration/query.sh b/t/integration/query.sh
index 5bd09b4507961be4614dd59f7c54334fef3d1bf7..46568569a57c307d9672a66472ce5f5456679ded 100755 (executable)
--- a/t/integration/query.sh
+++ b/t/integration/query.sh
echo "$output" | grep "Failed to parse query 'INVALID'"
echo "$output" | grep "parse error: syntax error"
+# Empty query.
+output="$( run_sysdb -H "$SOCKET_FILE" -c '' )"
+test -z "$output"
+
# Simple, successful commands.
output="$( run_sysdb -H "$SOCKET_FILE" -c 'LIST hosts' )"
echo "$output" \