~ubuntu-branches/ubuntu/wily/apparmor/wily

« back to all changes in this revision

Viewing changes to parser/tst/simple_tests/vars/vars_stress_03.sd

  • Committer: Bazaar Package Importer
  • Author(s): Kees Cook
  • Date: 2011-04-27 10:38:07 UTC
  • mfrom: (5.1.118 natty)
  • Revision ID: james.westby@ubuntu.com-20110427103807-ym3rhwys6o84ith0
Tags: 2.6.1-2
debian/copyright: clarify for some full organization names.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#=DESCRIPTION stress test (32448 items, 5408 unique)
 
2
#=EXRESULT PASS
 
3
 
 
4
@{FOO}=a b c d e f g h i j k l m n o p q r s t u v w x y z A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
 
5
@{BAR}=a b c d e f g h i j k l m n o p q r s t u v w x y z A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
 
6
@{BAZ}=a b c d e f g h i j k l m n o p q r s t u v w x y z A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
 
7
 
 
8
# 52^2 * 3 --> many duplicates --> 52^2
 
9
@{FBB}=@{FOO}/@{BAR} @{BAR}/@{BAZ} @{FOO}/@{BAZ}
 
10
# 52^2 * 3 --> many duplicates --> 52^2
 
11
@{BBF}=@{FOO}/FBB/@{BAR} @{BAR}/FBB/@{BAZ} @{FOO}/FBB/@{BAZ}
 
12
 
 
13
# (52^2) * 2 --> 5408 total entries.
 
14
# To really up the stress factor, replace the " " with / to give
 
15
# (52 ^ 2) ^ 2 unique entries, i.e. 7311616 unique entries, 65804544 total
 
16
@{MEGAFBB}=@{FBB} @{BBF}
 
17
 
 
18
/bin/foo {
 
19
  /@{MEGAFBB} r,
 
20
}