brintos

brintos / linux-shallow public Read only

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