mirror of
https://github.com/samba-team/samba.git
synced 2025-03-09 08:58:35 +03:00
s4-test: fixed ndrdump test for top level build
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
bee64c545f
commit
b84c0a9ed6
@ -10,7 +10,12 @@
|
|||||||
import os
|
import os
|
||||||
from samba.tests import BlackboxTestCase
|
from samba.tests import BlackboxTestCase
|
||||||
|
|
||||||
data_path_dir = os.path.abspath(os.path.join(os.path.dirname(__file__), "../../../../../librpc/tests"))
|
for p in [ "../../../../../source4/librpc/tests", "../../../../../librpc/tests"]:
|
||||||
|
data_path_dir = os.path.abspath(os.path.join(os.path.dirname(__file__), p))
|
||||||
|
print data_path_dir
|
||||||
|
if os.path.exists(data_path_dir):
|
||||||
|
break
|
||||||
|
|
||||||
|
|
||||||
class NdrDumpTests(BlackboxTestCase):
|
class NdrDumpTests(BlackboxTestCase):
|
||||||
"""Blackbox tests for ndrdump."""
|
"""Blackbox tests for ndrdump."""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user