summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c0bf49b)
raw | patch | inline | side by side (parent: c0bf49b)
author | Sebastian Harl <sh@tokkee.org> | |
Wed, 30 Apr 2014 09:39:52 +0000 (11:39 +0200) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Wed, 30 Apr 2014 09:39:52 +0000 (11:39 +0200) |
This ensures that we actually get and check the right exit code.
t/integration/simple_query.sh | patch | blob | history |
index 3473fa1c89535475e3947ecefd25525a016ffc3f..7c6277554577510e7bb7536d0be4c121ae74d07d 100755 (executable)
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" \