mirror of
https://github.com/samba-team/samba.git
synced 2025-03-08 04:58:40 +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
|
||||
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):
|
||||
"""Blackbox tests for ndrdump."""
|
||||
|
Loading…
x
Reference in New Issue
Block a user