summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-06-08 12:15:19 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:17:49 -0500
commit21468d061e594038b6125bc7f5929e1f30e8f674 (patch)
tree639f195fa427aa0c8a1530866d25913966b163d7 /source4
parent16de998bc6050609fc6208b260b9d83acde06bac (diff)
downloadsamba-21468d061e594038b6125bc7f5929e1f30e8f674.tar.gz
samba-21468d061e594038b6125bc7f5929e1f30e8f674.tar.bz2
samba-21468d061e594038b6125bc7f5929e1f30e8f674.zip
r7388: - fix calling of test_posix.sh
- move smbd_fifo into the prefix dir metze (This used to be commit 1f0168e18026268671c9745a193a0002da3dda30)
Diffstat (limited to 'source4')
-rwxr-xr-xsource4/script/tests/selftest.sh11
1 files changed, 6 insertions, 5 deletions
diff --git a/source4/script/tests/selftest.sh b/source4/script/tests/selftest.sh
index f012c7c347..12f27dbff9 100755
--- a/source4/script/tests/selftest.sh
+++ b/source4/script/tests/selftest.sh
@@ -37,18 +37,19 @@ cat >$CONFFILE<<EOF
[tmp]
path = $TMPDIR
read only = no
+ ntvfs handler = posix
EOF
ADDARG="-s $CONFFILE"
-rm -f smbd_test.fifo
-mkfifo smbd_test.fifo
-$SRCDIR/bin/smbd -d1 -s $CONFFILE -M single -i < smbd_test.fifo || exit 1 &
+rm -f $PREFIX/smbd_test.fifo
+mkfifo $PREFIX/smbd_test.fifo
+$SRCDIR/bin/smbd -d1 -s $CONFFILE -M single -i < $PREFIX/smbd_test.fifo || exit 1 &
sleep 2
(
$SRCDIR/script/tests/test_rpc.sh localhost $USERNAME $PASSWORD $DOMAIN $ADDARG || exit 1
$SRCDIR/script/tests/test_binding_string.sh localhost $USERNAME $PASSWORD $DOMAIN $ADDARG || exit 1
$SRCDIR/script/tests/test_echo.sh localhost $USERNAME $PASSWORD $DOMAIN $ADDARG || exit 1
- $SRCDIR/script/tests/test_posix.sh //localhost/tmp $USERNAME $PASSWORD $ADDARG || exit 1
+ $SRCDIR/script/tests/test_posix.sh //localhost/tmp $USERNAME $PASSWORD "" $ADDARG || exit 1
$SRCDIR/bin/smbtorture $ADDARG ncalrpc: LOCAL-* || exit 1
-) 9>smbd_test.fifo
+) 9>$PREFIX/smbd_test.fifo