~mathiaz/apparmor/ubuntu-mathiaz

« back to all changes in this revision

Viewing changes to tests/regression/subdomain/for-mainline/deleted-open-revalidate.patch

  • Committer: Mathias Gug
  • Date: 2008-02-04 18:57:00 UTC
  • mfrom: (885.1.5 apparmor)
  • Revision ID: mathiaz@ubuntu.com-20080204185700-wwlyq0ksssxclv8w
Merge  ubuntu branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Index: subdomain/deleted.sh
2
 
===================================================================
3
 
--- subdomain.orig/deleted.sh
4
 
+++ subdomain/deleted.sh
5
 
@@ -97,7 +97,6 @@ EOM
6
 
 rm -f ${socket}
7
 
 
8
 
 # PASS - confined client, rw access to the file
9
 
-
10
 
 genprofile $file:$okperm $socket:rw $fd_client:px -- image=$fd_client $file:$okperm $socket:rw
11
 
 runchecktest "fd passing; confined client w/ rw" pass $file $socket $fd_client "delete_file"
12
 
 
13
 
@@ -116,7 +115,7 @@ rm -f ${socket}
14
 
 # FAIL - confined client, w access to the file
15
 
 
16
 
 genprofile $file:$okperm $socket:rw $fd_client:px -- image=$fd_client $file:$badperm $socket:rw
17
 
-runchecktest "fd passing; confined client w/ w only" fail $file $socket $fd_client "delete_file"
18
 
+runchecktest "fd passing; confined client w/ w only" pass $file $socket $fd_client "delete_file"
19
 
 
20
 
 sleep 1
21
 
 rm -f ${socket}