aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap.sh
diff options
context:
space:
mode:
authorJan Gelety <jgelety@cisco.com>2016-09-22 14:27:41 +0200
committerJan Gelety <jgelety@cisco.com>2016-09-25 20:26:06 +0200
commit40d7e3b74c92f634c345192e87c2c50705c31eb6 (patch)
tree2e61c276a099981892835f192e4336702846d45b /bootstrap.sh
parent030f0dff4adbb5da9be2a18cbafec9b077a6723f (diff)
Use tmp directory for log files
- store log files in tmp directory and exclude all files in this directory from archiving when creating tarballs Change-Id: Ie3e11670c9d466c5fcf41d03ccd0a7bbb04ffeb0 Signed-off-by: Jan Gelety <jgelety@cisco.com>
Diffstat (limited to 'bootstrap.sh')
-rwxr-xr-xbootstrap.sh12
1 files changed, 8 insertions, 4 deletions
diff --git a/bootstrap.sh b/bootstrap.sh
index 2796e5031c..2bd3a0f072 100755
--- a/bootstrap.sh
+++ b/bootstrap.sh
@@ -34,11 +34,15 @@ TEST_GROUPS=("bridge_domain,dhcp,gre,honeycomb,l2_xconnect,lisp,softwire" "cop,i
SUITE_PATH="tests.func"
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
-LOG_PATH="${SCRIPT_DIR}"
-# Create temp dir for tarballs
-mkdir ${SCRIPT_DIR}/../temp
-export TMPDIR="${SCRIPT_DIR}/../temp"
+# Create tmp dir
+mkdir ${SCRIPT_DIR}/tmp
+
+# Use tmp dir to store log files
+LOG_PATH="${SCRIPT_DIR}/tmp"
+
+# Use tmp dir for tarballs
+export TMPDIR="${SCRIPT_DIR}/tmp"
SHARED_MEMORY_PATH="/run/shm"