mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
Use system python rather than smbpython.
This commit is contained in:
parent
371afde9b0
commit
d3df51cd01
@ -6,6 +6,8 @@ import getopt
|
||||
import optparse
|
||||
import sys
|
||||
|
||||
sys.path.append("bin/python")
|
||||
|
||||
import samba.getopt as options
|
||||
|
||||
from auth import system_session
|
||||
|
@ -17,8 +17,10 @@
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
from subunit import SubunitTestRunner
|
||||
import sys
|
||||
sys.path.append("bin/python")
|
||||
|
||||
from subunit import SubunitTestRunner
|
||||
from unittest import TestProgram
|
||||
import optparse
|
||||
import os
|
||||
|
@ -328,7 +328,7 @@ then
|
||||
plantest "nss.test using winbind" member $VALGRIND $samba4bindir/nsstest $samba4bindir/shared/libnss_winbind.so
|
||||
fi
|
||||
|
||||
PYTHON=bin/smbpython
|
||||
PYTHON=/usr/bin/python
|
||||
SUBUNITRUN="$PYTHON ./scripting/bin/subunitrun"
|
||||
plantest "ldb.python" none PYTHONPATH="$PYTHONPATH:lib/ldb/tests/python/" $SUBUNITRUN api
|
||||
plantest "credentials.python" none PYTHONPATH="$PYTHONPATH:auth/credentials/tests" $SUBUNITRUN bindings
|
||||
|
@ -705,7 +705,7 @@ nogroup:x:65534:nobody
|
||||
push (@provision_options, "$self->{bindir}/smbscript");
|
||||
push (@provision_options, "$self->{setupdir}/provision.js");
|
||||
} else {
|
||||
push (@provision_options, "$self->{bindir}/smbpython");
|
||||
# push (@provision_options, "$self->{bindir}/smbpython");
|
||||
push (@provision_options, "$self->{setupdir}/provision");
|
||||
}
|
||||
push (@provision_options, split(' ', $configuration));
|
||||
|
@ -26,6 +26,8 @@ import getopt
|
||||
import optparse
|
||||
import os, sys
|
||||
|
||||
sys.path.append("bin/python")
|
||||
|
||||
import samba
|
||||
import param
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user