Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
b47add85
Commit
b47add85
authored
Feb 11, 2016
by
Lasse Karstensen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use os.path.join().
parent
f8dfdb46
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
vmodtool.py
lib/libvcc/vmodtool.py
+5
-5
No files found.
lib/libvcc/vmodtool.py
View file @
b47add85
...
...
@@ -42,7 +42,7 @@ import optparse
import
unittest
import
random
from
os
import
unlink
from
os.path
import
dirname
,
realpath
,
exists
from
os.path
import
dirname
,
exists
,
join
,
realpath
from
pprint
import
pprint
,
pformat
ctypes
=
{
...
...
@@ -833,10 +833,10 @@ class SimpleTestCase(unittest.TestCase):
from
glob
import
glob
tmpfile
=
mktemp
()
bdir
=
dirname
(
realpath
(
__file__
))
for
inputfile
in
glob
(
bdir
+
"/../libvmod_*/vmod.vcc"
):
runmain
(
inputfile
,
output
name
=
tmpfile
)
for
suffix
in
[
".c"
,
".h"
]:
unlink
(
tmpfile
+
suffix
)
for
inputfile
in
glob
(
join
(
bdir
,
"../libvmod_*/vmod.vcc"
)
):
runmain
(
inputfile
,
output
prefix
=
tmpfile
)
unlink
(
tmpfile
+
".c"
)
unlink
(
tmpfile
+
".h"
)
#######################################################################
...
...
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