write log file in home directory instead of current directory
This commit is contained in:
parent
fb80772b4c
commit
a51c533126
2 changed files with 4 additions and 2 deletions
|
@ -19,7 +19,8 @@ if [[ $# -lt 1 ]] ; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
LOGFILE="full_test_$1_$(hostname)-$(date '+%Y-%m-%d_%H-%M-%S').log"
|
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"
|
||||||
|
|
||||||
echo ' '
|
echo ' '
|
||||||
echo "#### Starting benchmark ####" | tee $LOGFILE
|
echo "#### Starting benchmark ####" | tee $LOGFILE
|
||||||
|
|
|
@ -16,7 +16,8 @@ if [[ $# -lt 1 ]] ; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
LOGFILE="quick_test_$1_$(hostname)-$(date '+%Y-%m-%d_%H-%M-%S').log"
|
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"
|
||||||
|
|
||||||
echo ' '
|
echo ' '
|
||||||
echo "#### Starting benchmark ####" | tee $LOGFILE
|
echo "#### Starting benchmark ####" | tee $LOGFILE
|
||||||
|
|
Loading…
Reference in a new issue