mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
Revert "s4-test: fixed ndrdump test for top level build"
This essentially reverts commit
b84c0a9ed6
, but the datapath is now in the
source4 directory.
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
This commit is contained in:
parent
50ade4cadc
commit
6f144d49b5
@ -24,13 +24,7 @@ import os
|
||||
import re
|
||||
from samba.tests import BlackboxTestCase, BlackboxProcessError
|
||||
|
||||
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
|
||||
|
||||
data_path_dir = os.path.abspath(os.path.join(os.path.dirname(__file__), "../../../../../source4/librpc/tests"))
|
||||
|
||||
class NdrDumpTests(BlackboxTestCase):
|
||||
"""Blackbox tests for ndrdump."""
|
||||
|
Loading…
Reference in New Issue
Block a user