svn commit: samba r18829 - in
branches/SAMBA_4_0/source/script/tests: .
abartlet at samba.org
abartlet at samba.org
Fri Sep 22 20:00:50 GMT 2006
Author: abartlet
Date: 2006-09-22 20:00:49 +0000 (Fri, 22 Sep 2006)
New Revision: 18829
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=18829
Log:
Print a nice welcome message when we enter the test environment.
Andrew Bartlett
Modified:
branches/SAMBA_4_0/source/script/tests/mktestsetup.sh
branches/SAMBA_4_0/source/script/tests/tests_xterm.sh
Changeset:
Modified: branches/SAMBA_4_0/source/script/tests/mktestsetup.sh
===================================================================
--- branches/SAMBA_4_0/source/script/tests/mktestsetup.sh 2006-09-22 19:43:08 UTC (rev 18828)
+++ branches/SAMBA_4_0/source/script/tests/mktestsetup.sh 2006-09-22 20:00:49 UTC (rev 18829)
@@ -67,6 +67,8 @@
export SLAPD_CONF
export PIDDIR
export AUTH
+export SERVER
+export NETBIOSNAME
rm -rf $PREFIX/*
mkdir -p $PRIVATEDIR $ETCDIR $PIDDIR $NCALRPCDIR $LOCKDIR $TMPDIR $TLSDIR $LDAPDIR/db
Modified: branches/SAMBA_4_0/source/script/tests/tests_xterm.sh
===================================================================
--- branches/SAMBA_4_0/source/script/tests/tests_xterm.sh 2006-09-22 19:43:08 UTC (rev 18828)
+++ branches/SAMBA_4_0/source/script/tests/tests_xterm.sh 2006-09-22 20:00:49 UTC (rev 18829)
@@ -1,2 +1,11 @@
#!/bin/sh
-xterm
+xterm -e 'echo -e "Welcome to the Samba4 Test environment\n\
+This matches the client environment used in make test\n\
+smbd is pid `cat $PIDDIR/smbd.pid`\n\
+\n\
+Some useful environment variables:\n\
+AUTH=$AUTH\n\
+TORTURE_OPTIONS=$TORTURE_OPTIONS\n\
+CONFIGURATION=$CONFIGURATION\n\
+SERVER=$SERVER\n\
+NETBIOSNAME=$NETBIOSNAME" && bash'
More information about the samba-cvs
mailing list