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

Fix runtest.sh: delete ni file and lock correctly #8081

Merged
merged 1 commit into from
Dec 5, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions tests/runtest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -795,6 +795,7 @@ function finish_remaining_tests {

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

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

Expand All @@ -807,8 +808,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