features/auth_download.feature in uricp-0.0.12 vs features/auth_download.feature in uricp-0.0.13

- old
+ new

@@ -149,5 +149,14 @@ When I retrieve "img-lz4cy" with options "--target-format=qcow2 --cache=/tmp/uricp" from container "test" into "file:///tmp/uricp/srv-testa" Then a file named "/tmp/uricp/srv-testa" should exist And the file named "/tmp/uricp/srv-testa" should have a file format of "qcow2" And a file named "/tmp/uricp/cache/img-lz4cy" should exist And the file named "/tmp/uricp/cache/img-lz4cy" should have a file format of "lz4" + + Scenario: lz4 download sparse convert to raw, cache, overwrite file + Given a correctly initialised cache at "/tmp/uricp" + And a 102400 byte file named "/tmp/uricp/srv-test9" + When I retrieve "img-lz4cy" with options "--force --target-format=raw --cache=/tmp/uricp" from container "test" into "file:///tmp/uricp/srv-test9" + Then a file named "/tmp/uricp/srv-test9" should exist + And the file named "/tmp/uricp/srv-test9" should have a file format of "raw" + And a file named "/tmp/uricp/cache/img-lz4cy" should exist + And the file named "/tmp/uricp/cache/img-lz4cy" should have a file format of "lz4"