test: nfs_ea to create, list, set, and query file EAs
nfs_ea <filename> create <name> <value> nfs_ea <filename> set <name> [value] nfs_ea <filename> get <name> [name...] nfs_ea <filename> list Note that the test uses NtCreateFile(), so filenames must be specified in NT format: \??\z:\foo Signed-off-by: Casey Bodley <cbodley@citi.umich.edu>
This commit is contained in:
parent
f127d92173
commit
380e04867d
2 changed files with 320 additions and 0 deletions
17
tests/ea/sources
Normal file
17
tests/ea/sources
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
TARGETTYPE=PROGRAM
|
||||
TARGETNAME=nfs_ea
|
||||
SOURCES=main.c
|
||||
UMTYPE=console
|
||||
USE_MSVCRT=1
|
||||
TARGETLIBS=$(DDK_LIB_PATH)\ntdll.lib
|
||||
INCLUDES=$(DDK_INC_PATH)
|
||||
|
||||
UMENTRY=wmain
|
||||
UNICODE=1
|
||||
C_DEFINES=$(C_DEFINES) -DUNICODE -D_UNICODE
|
||||
|
||||
!IF 0
|
||||
/W3 is default level
|
||||
bump to /Wall, but suppress warnings generated by system includes
|
||||
!ENDIF
|
||||
MSC_WARNING_LEVEL=/Wall /wd4668 /wd4619 /wd4820 /wd4255 /wd4711
|
||||
Loading…
Add table
Add a link
Reference in a new issue