Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Commit

Permalink
Fix runtest.sh: delete ni file and lock correctly (#8081)
Browse files Browse the repository at this point in the history
  • Loading branch information
hseok-oh authored and janvorli committed Dec 5, 2016
1 parent 75a625f commit 55b1bb4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions 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 55b1bb4

Please sign in to comment.