summaryrefslogtreecommitdiff
path: root/source4/selftest/wscript
diff options
context:
space:
mode:
authorMatthieu Patou <mat@freebsd.home.tridgell.net>2010-10-10 10:12:46 +1100
committerMatthieu Patou <mat@matws.net>2010-10-10 16:03:35 +0400
commit9d958ce582fa760456b52d65a2deb36d8bd3794a (patch)
treeae4b0a883ef4dbee5e51fdb9243bdaa6debb199f /source4/selftest/wscript
parentf827fcd0e0f91b6aca113ec94e09e293f119cba8 (diff)
downloadsamba-9d958ce582fa760456b52d65a2deb36d8bd3794a.tar.gz
samba-9d958ce582fa760456b52d65a2deb36d8bd3794a.tar.bz2
samba-9d958ce582fa760456b52d65a2deb36d8bd3794a.zip
build: make make tests SCREEN=1 work on freebsd
Diffstat (limited to 'source4/selftest/wscript')
-rw-r--r--source4/selftest/wscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/selftest/wscript b/source4/selftest/wscript
index 561baeb6e1..249db5e90b 100644
--- a/source4/selftest/wscript
+++ b/source4/selftest/wscript
@@ -130,8 +130,8 @@ def cmd_testonly(opt):
server_wrapper = '../selftest/gdb_run _DUMMY=X'
if Options.options.SCREEN:
- server_wrapper = '../selftest/in_screen %s' % server_wrapper
- os.environ['TERMINAL'] = '../selftest/in_screen'
+ server_wrapper = '%s/../selftest/in_screen %s' % (os.getcwd(), server_wrapper)
+ os.environ['TERMINAL'] = '%s/../selftest/in_screen' % os.getcwd()
elif server_wrapper != '':
server_wrapper = 'xterm -n server -l -e %s' % server_wrapper