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
|
||||
fi
|
||||
|
||||
mkdir -p ~/sbc-performance-test-kit/benchmark
|
||||
LOGFILE="~/sbc-performance-test-kit/benchmark/full_test_$1_$(hostname)-$(date '+%Y-%m-%d_%H-%M-%S').log"
|
||||
SCRIPTDIR=$(dirname $0)/..
|
||||
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 "#### Starting benchmark ####" | tee $LOGFILE
|
||||
|
|
|
@ -16,8 +16,10 @@ if [[ $# -lt 1 ]] ; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
mkdir -p ~/sbc-performance-test-kit/benchmark
|
||||
LOGFILE="~/sbc-performance-test-kit/benchmark/quick_test_$1_$(hostname)-$(date '+%Y-%m-%d_%H-%M-%S').log"
|
||||
SCRIPTDIR=$(dirname $0)/..
|
||||
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 "#### Starting benchmark ####" | tee $LOGFILE
|
||||
|
|
Loading…
Reference in a new issue