s4-selftest: fixed 'make testenv'
authorAndrew Tridgell <tridge@samba.org>
Mon, 19 Oct 2009 10:37:20 +0000 (21:37 +1100)
committerAndrew Tridgell <tridge@samba.org>
Mon, 19 Oct 2009 10:37:20 +0000 (21:37 +1100)
The 'TERM' variable is used for terminal type, so we can't use it for
what terminal to use.

selftest/selftest.pl

index 1cae9eaa7dbdb590620b32f0b1989fecbc58032d..ef54320571c9e525aed4935846603544c30d5860 100755 (executable)
@@ -835,7 +835,7 @@ if ($opt_testenv) {
 
        my $envvarstr = exported_envvars_str($testenv_vars);
 
-       my $term = ($ENV{TERM} or "xterm");
+       my $term = ($ENV{TERMINAL} or "xterm");
        system("$term -e 'echo -e \"
 Welcome to the Samba4 Test environment '$testenv_name'