|
@@ -465,5 +465,76 @@
|
|
|
"teardown": [
|
|
|
"$TC actions flush action gact"
|
|
|
]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": "1021",
|
|
|
+ "name": "Add batch of 32 gact pass actions",
|
|
|
+ "category": [
|
|
|
+ "actions",
|
|
|
+ "gact"
|
|
|
+ ],
|
|
|
+ "setup": [
|
|
|
+ [
|
|
|
+ "$TC actions flush action gact",
|
|
|
+ 0,
|
|
|
+ 1,
|
|
|
+ 255
|
|
|
+ ]
|
|
|
+ ],
|
|
|
+ "cmdUnderTest": "for i in `seq 1 32`; do cmd=\"action pass index $i \"; args=\"$args$cmd\"; done && $TC actions add $args",
|
|
|
+ "expExitCode": "0",
|
|
|
+ "verifyCmd": "$TC actions list action gact",
|
|
|
+ "matchPattern": "^[ \t]+index [0-9]+ ref",
|
|
|
+ "matchCount": "32",
|
|
|
+ "teardown": [
|
|
|
+ "$TC actions flush action gact"
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": "da7a",
|
|
|
+ "name": "Add batch of 32 gact continue actions with cookie",
|
|
|
+ "category": [
|
|
|
+ "actions",
|
|
|
+ "gact"
|
|
|
+ ],
|
|
|
+ "setup": [
|
|
|
+ [
|
|
|
+ "$TC actions flush action gact",
|
|
|
+ 0,
|
|
|
+ 1,
|
|
|
+ 255
|
|
|
+ ]
|
|
|
+ ],
|
|
|
+ "cmdUnderTest": "for i in `seq 1 32`; do cmd=\"action continue index $i cookie aabbccddeeff112233445566778800a1 \"; args=\"$args$cmd\"; done && $TC actions add $args",
|
|
|
+ "expExitCode": "0",
|
|
|
+ "verifyCmd": "$TC actions list action gact",
|
|
|
+ "matchPattern": "^[ \t]+index [0-9]+ ref",
|
|
|
+ "matchCount": "32",
|
|
|
+ "teardown": [
|
|
|
+ "$TC actions flush action gact"
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": "8aa3",
|
|
|
+ "name": "Delete batch of 32 gact continue actions",
|
|
|
+ "category": [
|
|
|
+ "actions",
|
|
|
+ "gact"
|
|
|
+ ],
|
|
|
+ "setup": [
|
|
|
+ [
|
|
|
+ "$TC actions flush action gact",
|
|
|
+ 0,
|
|
|
+ 1,
|
|
|
+ 255
|
|
|
+ ],
|
|
|
+ "for i in `seq 1 32`; do cmd=\"action continue index $i \"; args=\"$args$cmd\"; done && $TC actions add $args"
|
|
|
+ ],
|
|
|
+ "cmdUnderTest": "for i in `seq 1 32`; do cmd=\"action gact index $i \"; args=\"$args$cmd\"; done && $TC actions del $args",
|
|
|
+ "expExitCode": "0",
|
|
|
+ "verifyCmd": "$TC actions list action gact",
|
|
|
+ "matchPattern": "^[ \t]+index [0-9]+ ref",
|
|
|
+ "matchCount": "0",
|
|
|
+ "teardown": []
|
|
|
}
|
|
|
-]
|
|
|
+]
|