~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/tools/testing/selftests/tc-testing/tc-tests/actions/simple.json

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /tools/testing/selftests/tc-testing/tc-tests/actions/simple.json (Architecture i386) and /tools/testing/selftests/tc-testing/tc-tests/actions/simple.json (Architecture sparc)


  1 [                                                   1 [
  2     {                                               2     {
  3         "id": "b078",                               3         "id": "b078",
  4         "name": "Add simple action",                4         "name": "Add simple action",
  5         "category": [                               5         "category": [
  6             "actions",                              6             "actions",
  7             "simple"                                7             "simple"
  8         ],                                          8         ],
  9         "plugins": {                                9         "plugins": {
 10            "requires": "nsPlugin"                  10            "requires": "nsPlugin"
 11         },                                         11         },
 12         "setup": [                                 12         "setup": [
 13             [                                      13             [
 14                 "$TC actions flush action simp     14                 "$TC actions flush action simple",
 15                 0,                                 15                 0,
 16                 1,                                 16                 1,
 17                 255                                17                 255
 18             ]                                      18             ]
 19         ],                                         19         ],
 20         "cmdUnderTest": "$TC actions add actio     20         "cmdUnderTest": "$TC actions add action simple sdata \"A triumph\" index 60",
 21         "expExitCode": "0",                        21         "expExitCode": "0",
 22         "verifyCmd": "$TC actions list action      22         "verifyCmd": "$TC actions list action simple",
 23         "matchPattern": "action order [0-9]*:      23         "matchPattern": "action order [0-9]*: Simple <A triumph>.*index 60 ref",
 24         "matchCount": "1",                         24         "matchCount": "1",
 25         "teardown": [                              25         "teardown": [
 26             "$TC actions flush action simple"      26             "$TC actions flush action simple"
 27         ]                                          27         ]
 28     },                                             28     },
 29     {                                              29     {
 30         "id": "4297",                              30         "id": "4297",
 31         "name": "Add simple action with change     31         "name": "Add simple action with change command",
 32         "category": [                              32         "category": [
 33             "actions",                             33             "actions",
 34             "simple"                               34             "simple"
 35         ],                                         35         ],
 36         "plugins": {                               36         "plugins": {
 37            "requires": "nsPlugin"                  37            "requires": "nsPlugin"
 38         },                                         38         },
 39         "setup": [                                 39         "setup": [
 40             [                                      40             [
 41                 "$TC actions flush action simp     41                 "$TC actions flush action simple",
 42                 0,                                 42                 0,
 43                 1,                                 43                 1,
 44                 255                                44                 255
 45             ]                                      45             ]
 46         ],                                         46         ],
 47         "cmdUnderTest": "$TC actions change ac     47         "cmdUnderTest": "$TC actions change action simple sdata \"Not changed\" index 60",
 48         "expExitCode": "0",                        48         "expExitCode": "0",
 49         "verifyCmd": "$TC actions list action      49         "verifyCmd": "$TC actions list action simple",
 50         "matchPattern": "action order [0-9]*:      50         "matchPattern": "action order [0-9]*: Simple <Not changed>.*index 60 ref",
 51         "matchCount": "1",                         51         "matchCount": "1",
 52         "teardown": [                              52         "teardown": [
 53             "$TC actions flush action simple"      53             "$TC actions flush action simple"
 54         ]                                          54         ]
 55     },                                             55     },
 56     {                                              56     {
 57         "id": "6d4c",                              57         "id": "6d4c",
 58         "name": "Add simple action with duplic     58         "name": "Add simple action with duplicate index",
 59         "category": [                              59         "category": [
 60             "actions",                             60             "actions",
 61             "simple"                               61             "simple"
 62         ],                                         62         ],
 63         "plugins": {                               63         "plugins": {
 64            "requires": "nsPlugin"                  64            "requires": "nsPlugin"
 65         },                                         65         },
 66         "setup": [                                 66         "setup": [
 67             [                                      67             [
 68                 "$TC actions flush action simp     68                 "$TC actions flush action simple",
 69                 0,                                 69                 0,
 70                 1,                                 70                 1,
 71                 255                                71                 255
 72             ],                                     72             ],
 73             "$TC actions add action simple sda     73             "$TC actions add action simple sdata \"Aruba\" index 4"
 74         ],                                         74         ],
 75         "cmdUnderTest": "$TC actions add actio     75         "cmdUnderTest": "$TC actions add action simple sdata \"Jamaica\" index 4",
 76         "expExitCode": "255",                      76         "expExitCode": "255",
 77         "verifyCmd": "$TC actions list action      77         "verifyCmd": "$TC actions list action simple",
 78         "matchPattern": "action order [0-9]*:      78         "matchPattern": "action order [0-9]*: Simple <Jamaica>.*ref",
 79         "matchCount": "0",                         79         "matchCount": "0",
 80         "teardown": [                              80         "teardown": [
 81             "$TC actions flush action simple"      81             "$TC actions flush action simple"
 82         ]                                          82         ]
 83     },                                             83     },
 84     {                                              84     {
 85         "id": "2542",                              85         "id": "2542",
 86         "name": "List simple actions",             86         "name": "List simple actions",
 87         "category": [                              87         "category": [
 88             "actions",                             88             "actions",
 89             "simple"                               89             "simple"
 90         ],                                         90         ],
 91         "plugins": {                               91         "plugins": {
 92            "requires": "nsPlugin"                  92            "requires": "nsPlugin"
 93         },                                         93         },
 94         "setup": [                                 94         "setup": [
 95             [                                      95             [
 96                 "$TC actions flush action simp     96                 "$TC actions flush action simple",
 97                 0,                                 97                 0,
 98                 1,                                 98                 1,
 99                 255                                99                 255
100             ],                                    100             ],
101             "$TC actions add action simple sda    101             "$TC actions add action simple sdata \"Rock\"",
102             "$TC actions add action simple sda    102             "$TC actions add action simple sdata \"Paper\"",
103             "$TC actions add action simple sda    103             "$TC actions add action simple sdata \"Scissors\" index 98"
104         ],                                        104         ],
105         "cmdUnderTest": "$TC actions list acti    105         "cmdUnderTest": "$TC actions list action simple",
106         "expExitCode": "0",                       106         "expExitCode": "0",
107         "verifyCmd": "$TC actions list action     107         "verifyCmd": "$TC actions list action simple",
108         "matchPattern": "action order [0-9]*:     108         "matchPattern": "action order [0-9]*: Simple <[A-Z][a-z]*>",
109         "matchCount": "3",                        109         "matchCount": "3",
110         "teardown": [                             110         "teardown": [
111             "$TC actions flush action simple"     111             "$TC actions flush action simple"
112         ]                                         112         ]
113     },                                            113     },
114     {                                             114     {
115         "id": "ea67",                             115         "id": "ea67",
116         "name": "Delete simple action",           116         "name": "Delete simple action",
117         "category": [                             117         "category": [
118             "actions",                            118             "actions",
119             "simple"                              119             "simple"
120         ],                                        120         ],
121         "plugins": {                              121         "plugins": {
122            "requires": "nsPlugin"                 122            "requires": "nsPlugin"
123         },                                        123         },
124         "setup": [                                124         "setup": [
125             [                                     125             [
126                 "$TC actions flush action simp    126                 "$TC actions flush action simple",
127                 0,                                127                 0,
128                 1,                                128                 1,
129                 255                               129                 255
130             ],                                    130             ],
131             "$TC actions add action simple sda    131             "$TC actions add action simple sdata \"Blinkenlights\" index 1"
132         ],                                        132         ],
133         "cmdUnderTest": "$TC actions delete ac    133         "cmdUnderTest": "$TC actions delete action simple index 1",
134         "expExitCode": "0",                       134         "expExitCode": "0",
135         "verifyCmd": "$TC actions list action     135         "verifyCmd": "$TC actions list action simple",
136         "matchPattern": "action order [0-9]*:     136         "matchPattern": "action order [0-9]*: Simple <Blinkenlights>.*index 1 ref",
137         "matchCount": "0",                        137         "matchCount": "0",
138         "teardown": [                             138         "teardown": [
139             "$TC actions flush action simple"     139             "$TC actions flush action simple"
140         ]                                         140         ]
141     },                                            141     },
142     {                                             142     {
143         "id": "8ff1",                             143         "id": "8ff1",
144         "name": "Flush simple actions",           144         "name": "Flush simple actions",
145         "category": [                             145         "category": [
146             "actions",                            146             "actions",
147             "simple"                              147             "simple"
148         ],                                        148         ],
149         "plugins": {                              149         "plugins": {
150            "requires": "nsPlugin"                 150            "requires": "nsPlugin"
151         },                                        151         },
152         "setup": [                                152         "setup": [
153             [                                     153             [
154                 "$TC actions flush action simp    154                 "$TC actions flush action simple",
155                 0,                                155                 0,
156                 1,                                156                 1,
157                 255                               157                 255
158             ],                                    158             ],
159             "$TC actions add action simple sda    159             "$TC actions add action simple sdata \"Kirk\"",
160             "$TC actions add action simple sda    160             "$TC actions add action simple sdata \"Spock\" index 50",
161             "$TC actions add action simple sda    161             "$TC actions add action simple sdata \"McCoy\" index 9"
162         ],                                        162         ],
163         "cmdUnderTest": "$TC actions flush act    163         "cmdUnderTest": "$TC actions flush action simple",
164         "expExitCode": "0",                       164         "expExitCode": "0",
165         "verifyCmd": "$TC actions list action     165         "verifyCmd": "$TC actions list action simple",
166         "matchPattern": "action order [0-9]*:     166         "matchPattern": "action order [0-9]*: Simple <[A-Z][a-z]*>",
167         "matchCount": "0",                        167         "matchCount": "0",
168         "teardown": [                             168         "teardown": [
169             ""                                    169             ""
170         ]                                         170         ]
171     },                                            171     },
172     {                                             172     {
173         "id": "b776",                             173         "id": "b776",
174         "name": "Replace simple action with in    174         "name": "Replace simple action with invalid goto chain control",
175         "category": [                             175         "category": [
176             "actions",                            176             "actions",
177             "simple"                              177             "simple"
178         ],                                        178         ],
179         "plugins": {                              179         "plugins": {
180            "requires": "nsPlugin"                 180            "requires": "nsPlugin"
181         },                                        181         },
182         "setup": [                                182         "setup": [
183             [                                     183             [
184                 "$TC actions flush action simp    184                 "$TC actions flush action simple",
185                 0,                                185                 0,
186                 1,                                186                 1,
187                 255                               187                 255
188             ],                                    188             ],
189             "$TC actions add action simple sda    189             "$TC actions add action simple sdata \"hello\" pass index 90"
190         ],                                        190         ],
191         "cmdUnderTest": "$TC actions replace a    191         "cmdUnderTest": "$TC actions replace action simple sdata \"world\" goto chain 42 index  90 cookie c1a0c1a0",
192         "expExitCode": "255",                     192         "expExitCode": "255",
193         "verifyCmd": "$TC actions list action     193         "verifyCmd": "$TC actions list action simple",
194         "matchPattern": "action order [0-9]*:     194         "matchPattern": "action order [0-9]*: Simple <hello>.*index 90 ref",
195         "matchCount": "1",                        195         "matchCount": "1",
196         "teardown": [                             196         "teardown": [
197             "$TC actions flush action simple"     197             "$TC actions flush action simple"
198         ]                                         198         ]
199     },                                            199     },
200     {                                             200     {
201         "id": "8d07",                             201         "id": "8d07",
202         "name": "Verify cleanup of failed acti    202         "name": "Verify cleanup of failed actions batch add",
203         "category": [                             203         "category": [
204             "actions",                            204             "actions",
205             "simple"                              205             "simple"
206         ],                                        206         ],
207         "plugins": {                              207         "plugins": {
208            "requires": "nsPlugin"                 208            "requires": "nsPlugin"
209         },                                        209         },
210         "setup": [                                210         "setup": [
211             [                                     211             [
212                 "$TC actions flush action simp    212                 "$TC actions flush action simple",
213                 0,                                213                 0,
214                 1,                                214                 1,
215                 255                               215                 255
216             ],                                    216             ],
217             "$TC actions add action simple sda    217             "$TC actions add action simple sdata \"2\" index 2",
218             [                                     218             [
219                 "$TC actions add action simple    219                 "$TC actions add action simple sdata \"1\" index 1 action simple sdata \"2\" index 2",
220                 255                               220                 255
221             ],                                    221             ],
222             "$TC actions flush action simple"     222             "$TC actions flush action simple"
223         ],                                        223         ],
224         "cmdUnderTest": "$TC actions add actio    224         "cmdUnderTest": "$TC actions add action simple sdata \"2\" index 2",
225         "expExitCode": "0",                       225         "expExitCode": "0",
226         "verifyCmd": "$TC actions list action     226         "verifyCmd": "$TC actions list action simple",
227         "matchPattern": "action order [0-9]*:     227         "matchPattern": "action order [0-9]*: Simple <2>.*index 2 ref",
228         "matchCount": "1",                        228         "matchCount": "1",
229         "teardown": [                             229         "teardown": [
230             "$TC actions flush action simple"     230             "$TC actions flush action simple"
231         ]                                         231         ]
232     },                                            232     },
233     {                                             233     {
234         "id": "a68a",                             234         "id": "a68a",
235         "name": "Verify cleanup of failed acti    235         "name": "Verify cleanup of failed actions batch change",
236         "category": [                             236         "category": [
237             "actions",                            237             "actions",
238             "simple"                              238             "simple"
239         ],                                        239         ],
240         "plugins": {                              240         "plugins": {
241            "requires": "nsPlugin"                 241            "requires": "nsPlugin"
242         },                                        242         },
243         "setup": [                                243         "setup": [
244             [                                     244             [
245                 "$TC actions flush action simp    245                 "$TC actions flush action simple",
246                 0,                                246                 0,
247                 1,                                247                 1,
248                 255                               248                 255
249             ],                                    249             ],
250             [                                     250             [
251                 "$TC actions change action sim    251                 "$TC actions change action simple sdata \"1\" index 1 action simple sdata \"2\" goto chain 42 index 2",
252                 255                               252                 255
253             ],                                    253             ],
254             "$TC actions flush action simple"     254             "$TC actions flush action simple"
255         ],                                        255         ],
256         "cmdUnderTest": "$TC actions add actio    256         "cmdUnderTest": "$TC actions add action simple sdata \"1\" index 1",
257         "expExitCode": "0",                       257         "expExitCode": "0",
258         "verifyCmd": "$TC actions list action     258         "verifyCmd": "$TC actions list action simple",
259         "matchPattern": "action order [0-9]*:     259         "matchPattern": "action order [0-9]*: Simple <1>.*index 1 ref",
260         "matchCount": "1",                        260         "matchCount": "1",
261         "teardown": [                             261         "teardown": [
262             "$TC actions flush action simple"     262             "$TC actions flush action simple"
263         ]                                         263         ]
264     }                                             264     }
265 ]                                                 265 ]
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php