2
# Copyright (C) 2002-2005 Novell/SUSE
4
# This program is free software; you can redistribute it and/or
5
# modify it under the terms of the GNU General Public License as
6
# published by the Free Software Foundation, version 2 of the
10
#=DESCRIPTION pread/pwrite test
26
genprofile $file:$okperm signal:receive:peer=unconfined
28
runtestbg "PREAD/PWRITE with rw" pass $file
40
# Disabled revalidation/revocation test as this can not be reliably tested
42
## FAIL TEST - PWRITE (pass 1)
44
#genprofile $file:$okperm
46
#runtestbg "PWRITE without w" fail $file
50
## FAIL TEST - PWRITE (pass 2)
52
#genprofile $file:$badwriteperm
62
# Disabled revalidation/revocation test as this can not be reliably tested
64
# FAIL TEST - PREAD (pass 1)
66
#genprofile $file:$okperm
68
#runtestbg "PREAD without r" fail $file
72
##FAIL TEST - PREAD (pass 2)
73
#genprofile $file:$badreadperm