mirror of
https://github.com/samba-team/samba.git
synced 2025-02-04 17:47:26 +03:00
s3: Test for bug 8733
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Feb 1 21:53:50 CET 2012 on sn-devel-104
This commit is contained in:
parent
207af5d9e3
commit
8c66c8c756
9
source3/tests/stream-depot/run.sh
Executable file
9
source3/tests/stream-depot/run.sh
Executable file
@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
rm -r .streams
|
||||
../../bin/vfstest -s smb.conf -f vfstest.cmd
|
||||
NUM=`find .streams | wc -l`
|
||||
if [ $NUM -ne 3 ] ; then
|
||||
echo "streams_depot left ${NUM} in .streams, expected 3"
|
||||
exit 1
|
||||
fi
|
||||
exit 0
|
5
source3/tests/stream-depot/smb.conf
Normal file
5
source3/tests/stream-depot/smb.conf
Normal file
@ -0,0 +1,5 @@
|
||||
[tmp]
|
||||
# "path" is ignored by vfstest, it's always set to $(pwd)
|
||||
path = /tmp
|
||||
writable = yes
|
||||
vfs objects = streams_depot xattr_tdb
|
5
source3/tests/stream-depot/vfstest.cmd
Normal file
5
source3/tests/stream-depot/vfstest.cmd
Normal file
@ -0,0 +1,5 @@
|
||||
connect
|
||||
mkdir x
|
||||
open x:y RC 0770
|
||||
unlink x:y
|
||||
rmdir x
|
Loading…
x
Reference in New Issue
Block a user