Skip to content

Commit

Permalink
Fix runtest.sh: delete ni file and lock correctly (dotnet/coreclr#8081)
Browse files Browse the repository at this point in the history
Commit migrated from dotnet/coreclr@55b1bb4
  • Loading branch information
hseok-oh authored and janvorli committed Dec 5, 2016
1 parent 2215cce commit 6da5c29
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/coreclr/tests/runtest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -808,6 +808,7 @@ function finish_remaining_tests {

function prep_test {
local scriptFilePath=$1
local scriptFileDir=$(dirname "$scriptFilePath")

test "$verbose" == 1 && echo "Preparing $scriptFilePath"

Expand All @@ -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 {
Expand Down

0 comments on commit 6da5c29

Please sign in to comment.