s4-drstest: don't use getenv("LDB_URL") in test suites
authorAndrew Tridgell <tridge@samba.org>
Fri, 27 Nov 2009 03:42:05 +0000 (14:42 +1100)
committerAndrew Tridgell <tridge@samba.org>
Fri, 27 Nov 2009 05:05:06 +0000 (16:05 +1100)
commit0920e0b63b806c8ed4839271048dd4924ed02b2b
tree83a95553b86c02bf81de3b906072313fb0808101
parentd78921d78ca0a9211f044092b9a7f29bcfdd5397
s4-drstest: don't use getenv("LDB_URL") in test suites

I was stumped for a while as to why the drs test suite was failing for
me. It turned out that it looked for LDB_URL in the environment, and
used it if set. I had it set in my terminal, and it was happily
munching on my sam.ldb while testing. Quite a cute bug really :-)
source4/torture/drs/unit/prefixmap_tests.c