mesos-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From al...@apache.org
Subject mesos git commit: Correctly used variables in test shell scripts.
Date Thu, 29 Sep 2016 14:20:12 GMT
Repository: mesos
Updated Branches:
  refs/heads/master 1b1656294 -> a17ae964e


Correctly used variables in test shell scripts.

Review: https://reviews.apache.org/r/52384/


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/a17ae964
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/a17ae964
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/a17ae964

Branch: refs/heads/master
Commit: a17ae964e3fe8003cb0df8800050333336f18082
Parents: 1b16562
Author: Benjamin Bannier <benjamin.bannier@mesosphere.io>
Authored: Thu Sep 29 16:19:43 2016 +0200
Committer: Alexander Rukletsov <alexr@apache.org>
Committed: Thu Sep 29 16:19:43 2016 +0200

----------------------------------------------------------------------
 src/tests/balloon_framework_test.sh   | 2 +-
 src/tests/disk_full_framework_test.sh | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/a17ae964/src/tests/balloon_framework_test.sh
----------------------------------------------------------------------
diff --git a/src/tests/balloon_framework_test.sh b/src/tests/balloon_framework_test.sh
index 0b135a6..7d0a4fe 100755
--- a/src/tests/balloon_framework_test.sh
+++ b/src/tests/balloon_framework_test.sh
@@ -95,7 +95,7 @@ sleep 2
 kill -0 ${MASTER_PID} >/dev/null 2>&1
 STATUS=${?}
 if [[ ${STATUS} -ne 0 ]]; then
-  echo "{RED}Master crashed; failing test${NORMAL}"
+  echo "${RED}Master crashed; failing test${NORMAL}"
   exit 2
 fi
 

http://git-wip-us.apache.org/repos/asf/mesos/blob/a17ae964/src/tests/disk_full_framework_test.sh
----------------------------------------------------------------------
diff --git a/src/tests/disk_full_framework_test.sh b/src/tests/disk_full_framework_test.sh
index e13d467..83ae094 100755
--- a/src/tests/disk_full_framework_test.sh
+++ b/src/tests/disk_full_framework_test.sh
@@ -60,7 +60,7 @@ sleep 2
 kill -0 ${MASTER_PID} >/dev/null 2>&1
 STATUS=${?}
 if [[ ${STATUS} -ne 0 ]]; then
-  echo "{RED}Master crashed; failing test${NORMAL}"
+  echo "${RED}Master crashed; failing test${NORMAL}"
   exit 2
 fi
 


Mime
View raw message