summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--selftest/target/Samba3.pm3
-rwxr-xr-xsource3/script/tests/selftest.sh3
2 files changed, 4 insertions, 2 deletions
diff --git a/selftest/target/Samba3.pm b/selftest/target/Samba3.pm
index c03e188792..4c554b5814 100644
--- a/selftest/target/Samba3.pm
+++ b/selftest/target/Samba3.pm
@@ -356,6 +356,7 @@ sub provision($$$$$$)
my $prefix_abs = abs_path($prefix);
my $bindir_abs = abs_path($self->{bindir});
+ my $vfs_modulesdir_abs = $bindir_abs;
my @dirs = ();
@@ -530,7 +531,7 @@ sub provision($$$$$$)
map readonly = no
store dos attributes = yes
create mask = 755
- vfs objects = $bindir_abs/xattr_tdb.so $bindir_abs/streams_depot.so
+ vfs objects = $vfs_modulesdir_abs/xattr_tdb.so $vfs_modulesdir_abs/streams_depot.so
printing = vlp
print command = $bindir_abs/vlp tdbfile=$lockdir/vlp.tdb print %p %s
diff --git a/source3/script/tests/selftest.sh b/source3/script/tests/selftest.sh
index fba43e3306..e68f2085c2 100755
--- a/source3/script/tests/selftest.sh
+++ b/source3/script/tests/selftest.sh
@@ -87,6 +87,7 @@ SRCDIR="`dirname $0`/../.."
BINDIR="`pwd`/bin"
SCRIPTDIR=$SRCDIR/script/tests
LIBDIR=$PREFIX_ABS/lib
+VFS_MODULESDIR=$BINDIR
PIDDIR=$PREFIX_ABS/pid
CONFFILE=$LIBDIR/client.conf
SAMBA4CONFFILE=$LIBDIR/samba4client.conf
@@ -329,7 +330,7 @@ cat >$SERVERCONFFILE<<EOF
map readonly = no
store dos attributes = yes
create mask = 755
- vfs objects = $BINDIR/xattr_tdb.so $BINDIR/streams_depot.so
+ vfs objects = $VFS_MODULESDIR/xattr_tdb.so $VFS_MODULESDIR/streams_depot.so
printing = vlp
print command = $BINDIR/vlp tdbfile=$LOCKDIR/vlp.tdb print %p %s