From 2d823a9af2e75a9ebba03c98f1831f06759f4a97 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Tue, 6 Mar 2007 23:23:15 +0000 Subject: [PATCH] r21730: Reintroduce summary for testenv, remove old (no longer used) file. --- source/script/tests/testenv.pl | 12 +++++++++++- source/script/tests/tests_xterm.sh | 11 ----------- 2 files changed, 11 insertions(+), 12 deletions(-) delete mode 100755 source/script/tests/tests_xterm.sh diff --git a/source/script/tests/testenv.pl b/source/script/tests/testenv.pl index b290aff5423..412fc71dab9 100755 --- a/source/script/tests/testenv.pl +++ b/source/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/source/script/tests/tests_xterm.sh b/source/script/tests/tests_xterm.sh deleted file mode 100755 index c6a23316f70..00000000000 --- a/source/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' -- 2.11.4.GIT