Fix log file directory
This commit is contained in:
parent
a51c533126
commit
5729a67218
2 changed files with 8 additions and 4 deletions
|
@ -19,8 +19,10 @@ if [[ $# -lt 1 ]] ; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
mkdir -p ~/sbc-performance-test-kit/benchmark
|
SCRIPTDIR=$(dirname $0)/..
|
||||||
LOGFILE="~/sbc-performance-test-kit/benchmark/full_test_$1_$(hostname)-$(date '+%Y-%m-%d_%H-%M-%S').log"
|
REPODIR=$(readlink -f $SCRIPTDIR/..)
|
||||||
|
mkdir -p $REPODIR/sbc-performance-test-kit/benchmark
|
||||||
|
LOGFILE="$REPODIR/sbc-performance-test-kit/benchmark/full_test_$1_$(hostname)-$(date '+%Y-%m-%d_%H-%M-%S').log"
|
||||||
|
|
||||||
echo ' '
|
echo ' '
|
||||||
echo "#### Starting benchmark ####" | tee $LOGFILE
|
echo "#### Starting benchmark ####" | tee $LOGFILE
|
||||||
|
|
|
@ -16,8 +16,10 @@ if [[ $# -lt 1 ]] ; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
mkdir -p ~/sbc-performance-test-kit/benchmark
|
SCRIPTDIR=$(dirname $0)/..
|
||||||
LOGFILE="~/sbc-performance-test-kit/benchmark/quick_test_$1_$(hostname)-$(date '+%Y-%m-%d_%H-%M-%S').log"
|
REPODIR=$(readlink -f $SCRIPTDIR/..)
|
||||||
|
mkdir -p $REPODIR/sbc-performance-test-kit/benchmark
|
||||||
|
LOGFILE="$REPODIR/sbc-performance-test-kit/benchmark/quick_test_$1_$(hostname)-$(date '+%Y-%m-%d_%H-%M-%S').log"
|
||||||
|
|
||||||
echo ' '
|
echo ' '
|
||||||
echo "#### Starting benchmark ####" | tee $LOGFILE
|
echo "#### Starting benchmark ####" | tee $LOGFILE
|
||||||
|
|
Loading…
Reference in a new issue