1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

s3: Test for faulty xattr_tdb listxattr

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Thu Feb  2 22:10:49 CET 2012 on sn-devel-104
This commit is contained in:
Volker Lendecke 2012-02-02 20:32:07 +01:00 committed by Volker Lendecke
parent da0a7b2fcc
commit fad9727f25
3 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,7 @@
#!/bin/sh
if ../../../bin/vfstest -s smb.conf -f vfstest.cmd |
grep "NT_STATUS_ACCESS_DENIED" > /dev/null 2>&1
then
exit 1
fi
exit 0

View File

@ -0,0 +1,5 @@
[tmp]
# "path" is ignored by vfstest, it's always set to $(pwd)
path = /tmp
writable = yes
vfs objects = xattr_tdb

View File

@ -0,0 +1,5 @@
connect
open x RC 0700
setxattr x y z
listxattr x
unlink x