summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/tests/test-tdb.sh
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-07-15 08:10:34 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:23:08 -0500
commit32b06d5882a6fc93692815392e0a94d0709bc273 (patch)
treed374ec0f03d6be625dcad75ca2b5050bd9d84f10 /source4/lib/ldb/tests/test-tdb.sh
parent7913cbbe11075c75770d37cf2e0da8f7af51a7fc (diff)
downloadsamba-32b06d5882a6fc93692815392e0a94d0709bc273.tar.gz
samba-32b06d5882a6fc93692815392e0a94d0709bc273.tar.bz2
samba-32b06d5882a6fc93692815392e0a94d0709bc273.zip
r8485: - be friendly to shells other than bash
- don't use /tmp in test paths, as that opens us to symlink attacks (This used to be commit 9f29cccbc1fb44cb0317911601456c190883f066)
Diffstat (limited to 'source4/lib/ldb/tests/test-tdb.sh')
-rwxr-xr-xsource4/lib/ldb/tests/test-tdb.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/lib/ldb/tests/test-tdb.sh b/source4/lib/ldb/tests/test-tdb.sh
index 936c448757..6899d98677 100755
--- a/source4/lib/ldb/tests/test-tdb.sh
+++ b/source4/lib/ldb/tests/test-tdb.sh
@@ -1,7 +1,8 @@
#!/bin/sh
-export LDB_URL="tdbtest.ldb"
+LDB_URL="tdbtest.ldb"
+export LDB_URL
PATH=bin:$PATH
export PATH