From: Hyeongseok Oh Date: Mon, 5 Dec 2016 18:55:40 +0000 (+0900) Subject: Fix runtest.sh: delete ni file and lock correctly (dotnet/coreclr#8081) X-Git-Tag: submit/tizen/20210909.063632~11030^2~8728 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6da5c29fc72975c0240ff83d334d092f2b66c0ed;p=platform%2Fupstream%2Fdotnet%2Fruntime.git Fix runtest.sh: delete ni file and lock correctly (dotnet/coreclr#8081) Commit migrated from https://github.com/dotnet/coreclr/commit/55b1bb4e35807220a48391548238e29b075102bb --- diff --git a/src/coreclr/tests/runtest.sh b/src/coreclr/tests/runtest.sh index 51c0192..1c67a70 100755 --- a/src/coreclr/tests/runtest.sh +++ b/src/coreclr/tests/runtest.sh @@ -808,6 +808,7 @@ function finish_remaining_tests { function prep_test { local scriptFilePath=$1 + local scriptFileDir=$(dirname "$scriptFilePath") test "$verbose" == 1 && echo "Preparing $scriptFilePath" @@ -820,8 +821,8 @@ function prep_test { chmod +x "$scriptFilePath" #remove any NI and Locks - rm -f *.ni.* - rm -rf lock + rm -f $scriptFileDir/*.ni.* + rm -rf $scriptFileDir/lock } function start_test {