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:
parent
da0a7b2fcc
commit
fad9727f25
7
source3/script/tests/xattr-tdb-1/run.sh
Executable file
7
source3/script/tests/xattr-tdb-1/run.sh
Executable 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
|
5
source3/script/tests/xattr-tdb-1/smb.conf
Normal file
5
source3/script/tests/xattr-tdb-1/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 = xattr_tdb
|
5
source3/script/tests/xattr-tdb-1/vfstest.cmd
Normal file
5
source3/script/tests/xattr-tdb-1/vfstest.cmd
Normal file
@ -0,0 +1,5 @@
|
||||
connect
|
||||
open x RC 0700
|
||||
setxattr x y z
|
||||
listxattr x
|
||||
unlink x
|
Loading…
Reference in New Issue
Block a user