From: Victor Cebollada Date: Mon, 21 Aug 2017 14:28:13 +0000 (+0100) Subject: Ensure all users can run the unit test cases on the same machine. X-Git-Tag: dali_1.2.54~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6d501fe17647fa6b2e1a031a9b8156f37a3a5bbf;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git Ensure all users can run the unit test cases on the same machine. Change-Id: Ibda920af96500256e99aa690534b980f0080a28a Signed-off-by: Victor Cebollada --- diff --git a/automated-tests/scripts/tcheadgen.sh b/automated-tests/scripts/tcheadgen.sh index c7b7700a2d..dfd378a30f 100755 --- a/automated-tests/scripts/tcheadgen.sh +++ b/automated-tests/scripts/tcheadgen.sh @@ -6,7 +6,7 @@ if [[ -z $1 ]]; then fi FILE="$PWD/$1" -TFILE="/tmp/retr.csv" +TFILE="/tmp/retr.csv$$" HEADER_NAME=$(echo $1 | tr '[:lower:]' '[:upper:]' | sed -e 's/-/_/g' -e 's/\./_/') SCRIPT_DIR="$(cd "$(dirname $0)" && pwd)" @@ -69,3 +69,5 @@ print "};" print "" print "#endif // __" HEADER_NAME "__" }' $TFILE > $FILE +unlink $TFILE +