1
0
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:
Joseph Sutton 2021-04-15 10:32:41 +12:00 committed by Jeremy Allison
parent 50ade4cadc
commit 6f144d49b5

View File

@ -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."""