[ { "title": "gen ident", "cmd": [ "genident", "name=A Test User" ], "exit": 0 }, { "special": "setup tar file" }, { "title": "import tar.gz container", "cmd": [ "container", "testfile.tar.gz" ] }, { "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/80b8615104d04870ca23a0df0b63097a84a05fabf0813ced03482f742402d8c06598e32dc080e584935c4901d424c9d08d987040e3f49ef11732af5c8bf6e2aa" }, { "type": "file", "hashes": [ "sha512:80b8615104d04870ca23a0df0b63097a84a05fabf0813ced03482f742402d8c06598e32dc080e584935c4901d424c9d08d987040e3f49ef11732af5c8bf6e2aa" ] } ] }, { "title": "import tar.gz container", "cmd": [ "container", "testfile.tar.gz" ] }, { "special": "verify store object cnt", "comment": "should have one container and one file", "count": 2 } ]