Code

integration tests: Run all invocations through valgrind's memcheck.
[sysdb.git] / t / integration / simple_query.sh
index 3473fa1c89535475e3947ecefd25525a016ffc3f..76b54d66e840f8333b51bebaff7ec2eb64fc7cbf 100755 (executable)
@@ -43,13 +43,14 @@ LoadBackend mock_plugin
 </Backend>
 EOF
 
-"$SYSDBD" -D -C "$SYSDBD_CONF" &
+$SYSDBD -D -C "$SYSDBD_CONF" &
 sysdbd_pid=$!
 
 wait_for_sysdbd
 sleep 3
 
-"$SYSDB" -H "$SOCKET_FILE" -c LIST \
+output="$( $SYSDB -H "$SOCKET_FILE" -c LIST )"
+echo "$output" \
        | grep -F '"host1.example.com"' \
        | grep -F "host2.example.com" \
        | grep -F "localhost" \