From f91f57b7496a9929f15f399d1b3bbc989476628d Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Tue, 6 Mar 2007 23:23:15 +0000 Subject: r21730: Reintroduce summary for testenv, remove old (no longer used) file. (This used to be commit 0140aa5fd9e634620d42b8c4cdd4f43c6b681102) --- source4/script/tests/testenv.pl | 12 +++++++++++- source4/script/tests/tests_xterm.sh | 11 ----------- 2 files changed, 11 insertions(+), 12 deletions(-) delete mode 100755 source4/script/tests/tests_xterm.sh (limited to 'source4/script/tests') diff --git a/source4/script/tests/testenv.pl b/source4/script/tests/testenv.pl index b290aff542..412fc71dab 100755 --- a/source4/script/tests/testenv.pl +++ b/source4/script/tests/testenv.pl @@ -28,5 +28,15 @@ $ENV{TORTURE_OPTIONS} = join(' ', @torture_options); open(DATA, ">$test_fifo"); Samba4::wait_for_start(); -system("xterm"); +system("xterm -e 'echo -e \"Welcome to the Samba4 Test environment +This matches the client environment used in make test +smbd is pid `cat \$PIDDIR/smbd.pid` + +Some useful environment variables: +AUTH=\$AUTH +TORTURE_OPTIONS=\$TORTURE_OPTIONS +CONFIGURATION=\$CONFIGURATION +SERVER=\$SERVER +NETBIOSNAME=\$NETBIOSNAME\" && bash'"); close(DATA); + diff --git a/source4/script/tests/tests_xterm.sh b/source4/script/tests/tests_xterm.sh deleted file mode 100755 index c6a23316f7..0000000000 --- a/source4/script/tests/tests_xterm.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh -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