You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ts...@apache.org on 2012/09/26 16:52:24 UTC
git commit: Exit code needs to be captured post nc output. Don't exec
as cmd
Updated Branches:
refs/heads/master fa63c3057 -> 0cb54e248
Exit code needs to be captured post nc output. Don't exec as cmd
Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/0cb54e24
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/0cb54e24
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/0cb54e24
Branch: refs/heads/master
Commit: 0cb54e24863b9d7b0d792181df521991fc6727b8
Parents: fa63c30
Author: Prasanna Santhanam <ts...@apache.org>
Authored: Wed Sep 26 20:20:47 2012 +0530
Committer: Prasanna Santhanam <ts...@apache.org>
Committed: Wed Sep 26 20:20:47 2012 +0530
----------------------------------------------------------------------
test/setup-test-data.sh | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/0cb54e24/test/setup-test-data.sh
----------------------------------------------------------------------
diff --git a/test/setup-test-data.sh b/test/setup-test-data.sh
index 732d593..a0e78de 100755
--- a/test/setup-test-data.sh
+++ b/test/setup-test-data.sh
@@ -62,7 +62,7 @@ if [[ $ostypeid == "" ]]; then
exit 2
fi
-$(nc -z $MGMT_SVR 8096)
+nc -z $MGMT_SVR 8096
if [[ $? -ne 0 ]]; then
echo "$MGMT_SVR doesn't have port 8096 open"
exit 2