Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liblongpath-rsync
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liblongpath
liblongpath-rsync
Commits
b214eda4
Commit
b214eda4
authored
Dec 14, 2001
by
Martin Pool
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clean scratch directory between each test run.
parent
0771727d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
runtests.sh
runtests.sh
+7
-4
No files found.
runtests.sh
View file @
b214eda4
...
@@ -160,16 +160,18 @@ missing=0
...
@@ -160,16 +160,18 @@ missing=0
passed
=
0
passed
=
0
failed
=
0
failed
=
0
scratchdir
=
./testtmp
scratchdir
=
"
`
cd
./testtmp
&&
pwd
`
"
[
-d
"
$scratchdir
"
]
&&
rm
-r
"
$scratchdir
"
mkdir
"
$scratchdir
"
scratchdir
=
`
cd
$scratchdir
&&
pwd
`
echo
" scratchdir=
$scratchdir
"
echo
" scratchdir=
$scratchdir
"
suitedir
=
"
$srcdir
/testsuite"
suitedir
=
"
$srcdir
/testsuite"
export
scratchdir suitedir
export
scratchdir suitedir
clean_scratch
()
{
[
-d
"
$scratchdir
"
]
&&
rm
-rf
"
$scratchdir
"
mkdir
"
$scratchdir
"
}
if
[
"x
$whichtests
"
=
x
]
if
[
"x
$whichtests
"
=
x
]
then
then
whichtests
=
"*.test"
whichtests
=
"*.test"
...
@@ -180,6 +182,7 @@ do
...
@@ -180,6 +182,7 @@ do
testbase
=
`
echo
$testscript
|
sed
's!.*/!!'
`
testbase
=
`
echo
$testscript
|
sed
's!.*/!!'
`
echo
"-----
$testbase
starting"
echo
"-----
$testbase
starting"
clean_scratch
if
sh
$RUNSHFLAGS
"
$testscript
"
if
sh
$RUNSHFLAGS
"
$testscript
"
then
then
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment