|
- [
- {
- "title": "gen ident",
- "cmd": [ "genident", "name=A Test User" ],
- "exit": 0
- },
- {
- "special": "setup file",
- "file": "testfile.zip"
- },
- {
- "title": "import zip container",
- "cmd": [ "container", "testfile.zip" ]
- },
- {
- "special": "verify store object cnt",
- "comment": "should have one container and one file",
- "count": 2
- },
- {
- "title": "verify correct files imported",
- "cmd": [ "dump" ],
- "stdout_check": [
- { "type": "identity" },
- { "files": [ "testfiles/newfile.txt", "testfiles/test.txt" ],
- "hashes": [ "sha512:90f8342520f0ac57fb5a779f5d331c2fa87aa40f8799940257f9ba619940951e67143a8d746535ed0284924b2b7bc1478f095198800ba96d01847d7b56ca465c", "sha512:7d5768d47b6bc27dc4fa7e9732cfa2de506ca262a2749cb108923e5dddffde842bbfee6cb8d692fb43aca0f12946c521cce2633887914ca1f96898478d10ad3f" ],
- "type": "container",
- "uri": "hash://sha512/ee141c9288d3c0d240addd9d688970481ff5107bf4b437782f79afcecbc6de207d6e0900d341125a6961918608b7e9f2c53f194600d3a8326e81b182eabb9e51" },
- { "type": "file", "hashes": [ "sha512:ee141c9288d3c0d240addd9d688970481ff5107bf4b437782f79afcecbc6de207d6e0900d341125a6961918608b7e9f2c53f194600d3a8326e81b182eabb9e51" ] }
- ]
- }
- ]
|