Commit babbaa53 authored by Lasse Karstensen's avatar Lasse Karstensen

Fix glob that found no input files.

parent bbf9d330
......@@ -731,8 +731,9 @@ class SimpleTestCase(unittest.TestCase):
from tempfile import mktemp
from glob import glob
tmpfile = mktemp()
for inputfile in glob(dirname(realpath(__file__)) + "../libvmod_*/vmod.vcc"):
runmain(inputvcc, outputname=tmpfile)
bdir = dirname(realpath(__file__))
for inputfile in glob(bdir + "/../libvmod_*/vmod.vcc"):
runmain(inputfile, outputname=tmpfile)
for suffix in [".c", ".h"]:
unlink(tmpfile + suffix)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment