diff options
author | Hyeongseok Oh <hseok82.oh@samsung.com> | 2016-12-06 03:55:40 +0900 |
---|---|---|
committer | Jan Vorlicek <janvorli@microsoft.com> | 2016-12-05 19:55:40 +0100 |
commit | 55b1bb4e35807220a48391548238e29b075102bb (patch) | |
tree | bf0a37f508bbb313805baf40ee0d83a7e8e41827 /tests/runtest.sh | |
parent | 75a625faaddcd45b5ab396019dc1623dfe3b35c1 (diff) | |
download | coreclr-55b1bb4e35807220a48391548238e29b075102bb.tar.gz coreclr-55b1bb4e35807220a48391548238e29b075102bb.tar.bz2 coreclr-55b1bb4e35807220a48391548238e29b075102bb.zip |
Fix runtest.sh: delete ni file and lock correctly (#8081)
Diffstat (limited to 'tests/runtest.sh')
-rwxr-xr-x | tests/runtest.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/runtest.sh b/tests/runtest.sh index 51c01926ee..1c67a70db7 100755 --- a/tests/runtest.sh +++ b/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 { |