From 266ba2222b7eebe426db626acd6fcd109eef429a Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Fri, 22 Sep 2006 20:00:49 +0000 Subject: r18829: Print a nice welcome message when we enter the test environment. Andrew Bartlett (This used to be commit 77f1c15d92d13f6e4f278d9d4b0f15fab66b4bbc) --- source4/script/tests/mktestsetup.sh | 2 ++ source4/script/tests/tests_xterm.sh | 11 ++++++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/source4/script/tests/mktestsetup.sh b/source4/script/tests/mktestsetup.sh index e8f3dcff6e..b4090eee7b 100755 --- a/source4/script/tests/mktestsetup.sh +++ b/source4/script/tests/mktestsetup.sh @@ -67,6 +67,8 @@ export CONFFILE 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 diff --git a/source4/script/tests/tests_xterm.sh b/source4/script/tests/tests_xterm.sh index 30ba44e1a0..c6a23316f7 100644 --- a/source4/script/tests/tests_xterm.sh +++ b/source4/script/tests/tests_xterm.sh @@ -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' -- cgit