Tiny improvement in paths

This patch allows to run devstack-vm-gate-wrap.sh outside
$WORKSPACE directory. Without this patch script fails with
error that logs/* paths are not found.

Change-Id: Ia6d0723fd8dc5dde60fba76783678053069a0a86
This commit is contained in:
Vladimir Kozhukalov
2014-01-15 16:45:30 +04:00
parent e4e1917a04
commit 6301d00519
2 changed files with 3 additions and 3 deletions

View File

@@ -87,8 +87,8 @@ if [ -z "$SKIP_DEVSTACK_GATE_PROJECT" ]; then
fi
# Make a directory to store logs
rm -rf logs
mkdir -p logs
rm -rf $WORKSPACE/logs
mkdir -p $WORKSPACE/logs
# Set to 1 to run the Tempest test suite
export DEVSTACK_GATE_TEMPEST=${DEVSTACK_GATE_TEMPEST:-0}

View File

@@ -293,7 +293,7 @@ function setup_host {
sudo start rsyslog
# We set some home directories under $BASE, make sure it exists.
sudo mkdir $BASE
sudo mkdir -p $BASE
# Create a stack user for devstack to run as, so that we can
# revoke sudo permissions from that user when appropriate.
sudo useradd -U -s /bin/bash -d $BASE/new -m stack