r21730: Reintroduce summary for testenv, remove old (no longer used) file.
authorJelmer Vernooij <jelmer@samba.org>
Tue, 6 Mar 2007 23:23:15 +0000 (23:23 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:49:19 +0000 (14:49 -0500)
(This used to be commit 0140aa5fd9e634620d42b8c4cdd4f43c6b681102)

source4/script/tests/testenv.pl
source4/script/tests/tests_xterm.sh [deleted file]

index b290aff54232fd9180db3e874448969fb02cf46f..412fc71dab984de9a98f0632f399de95c93b5316 100755 (executable)
@@ -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 (executable)
index c6a2331..0000000
+++ /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'