Rev 11788: Import only necessary test variables, more refactoring. in file:///home/jelmer/bzr.samba/SAMBA_4_0/

Andrew Bartlett abartlet at samba.org
Thu Apr 5 06:32:57 GMT 2007


On Wed, 2007-04-04 at 17:24 +0200, Jelmer Vernooij wrote:
> 
> +foreach ("PASSWORD", "DOMAIN", "SERVER", "CONFIGURATION", 
> +             "USERNAME", "PREFIX", "NETBIOSNAME", "KRB5_CONFIG") {
> +       $ENV{$_} = $testenv_vars->{$_};
> +}

So, if we want an environment variable to be available in 'make
testenv', or in a test, we must now list it in 3 places (the definition,
the echo FOO=$FOO and here?

Shouldn't we just cut down the list being echoed if this is an issue?

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Red Hat Inc.                  http://redhat.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20070405/21667669/attachment.bin


More information about the samba-technical mailing list