features/auth_download.feature in uricp-0.0.5 vs features/auth_download.feature in uricp-0.0.6

- old
+ new

@@ -26,9 +26,17 @@ Then a file named "/tmp/uricp/srv-test3" should exist And the file named "/tmp/uricp/srv-test3" should have a file format of "qcow2v3" And a file named "/tmp/uricp/cache/img-qcow2" should exist And the file named "/tmp/uricp/cache/img-qcow2" should have a file format of "qcow2v3" + Scenario: zero download convert to qcow2, cache + Given a correctly initialised cache at "/tmp/uricp" + When I retrieve "img-zeroy" with options "--target-format=qcow2 --cache=/tmp/uricp" from container "test" into "file:///tmp/uricp/srv-testz" + Then a file named "/tmp/uricp/srv-testz" should exist + And the file named "/tmp/uricp/srv-testz" should have a file format of "qcow2" + And a 0 byte file named "/tmp/uricp/cache/img-zeroy" should exist + And the file named "/tmp/uricp/cache/img-zeroy" should have a file format of "raw" + Scenario: qcow download convert to raw, cache Given a correctly initialised cache at "/tmp/uricp" When I retrieve "img-qcow2" with options "--target-format=raw --cache=/tmp/uricp" from container "test" into "file:///tmp/uricp/srv-test4" Then a file named "/tmp/uricp/srv-test4" should exist And the file named "/tmp/uricp/srv-test4" should have a file format of "raw"