summaryrefslogtreecommitdiffstats
path: root/tests/Dockerfiletest/run_mask.sh
diff options
context:
space:
mode:
authorMohamed Ashiq Liyazudeen <mliyazud@redhat.com>2017-05-18 18:02:21 +0530
committerMohamed Ashiq Liyazudeen <mliyazud@redhat.com>2017-05-24 22:11:04 +0530
commite494a047a02e043e5143db13a3531a366f53ea0a (patch)
treefc0ce97b17d731155bdeb2b1b483553d5a4631b2 /tests/Dockerfiletest/run_mask.sh
parente0743a5e4d81b425cd289c685ffff5b3124d4252 (diff)
downloadgluster-e494a047a02e043e5143db13a3531a366f53ea0a.tar.gz
gluster-e494a047a02e043e5143db13a3531a366f53ea0a.tar.bz2
gluster-e494a047a02e043e5143db13a3531a366f53ea0a.tar.xz
gluster-e494a047a02e043e5143db13a3531a366f53ea0a.zip
Travis CI update and disabling dockerfile_lint
Travis now runs the test where it: * Builds the Dockerfile * Runs Docker image with required parameters * Verifies the state of the container Signed-off-by: Mohamed Ashiq Liyazudeen <mliyazud@redhat.com>
Diffstat (limited to 'tests/Dockerfiletest/run_mask.sh')
-rwxr-xr-xtests/Dockerfiletest/run_mask.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/Dockerfiletest/run_mask.sh b/tests/Dockerfiletest/run_mask.sh
new file mode 100755
index 0000000..b82b810
--- /dev/null
+++ b/tests/Dockerfiletest/run_mask.sh
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+SCRIPT_DIR=$(cd $(dirname $0); pwd)
+
+echo "running tests in ${SCRIPT_DIR}"
+
+for test in ${SCRIPT_DIR}/test_*.sh ; do
+ $test
+ if [ $? -ne 0 ]; then
+ exit 1
+ fi
+done