X-Git-Url: https://git.tokkee.org/?p=sysdb.git;a=blobdiff_plain;f=t%2Fintegration%2Fsimple_query.sh;h=ec83f20199f3195b4c83f055a4cb9132b346dae4;hp=d413b997ea4e6d422c2747e422904bda17eed398;hb=1f2aedf19e878c5cbf6d5bc5793ee3621fa7854c;hpb=8c58d65dec8e046ec1d8b26eb1a6d913b971e5be diff --git a/t/integration/simple_query.sh b/t/integration/simple_query.sh index d413b99..ec83f20 100755 --- a/t/integration/simple_query.sh +++ b/t/integration/simple_query.sh @@ -49,7 +49,8 @@ sysdbd_pid=$! wait_for_sysdbd sleep 3 -output="$( $SYSDB -H "$SOCKET_FILE" -c INVALID )" +output="$( $SYSDB -H "$SOCKET_FILE" -c INVALID )" && exit 1 +echo "$output" | grep "Failed to parse query 'INVALID'" echo "$output" | grep "parse error: syntax error" output="$( $SYSDB -H "$SOCKET_FILE" -c LIST )"