| ... | ... |
@@ -118,7 +118,7 @@ function test_zip_snapshot_location {
|
| 118 | 118 |
function test_create_directory_for_kernels {
|
| 119 | 119 |
( |
| 120 | 120 |
. mocks |
| 121 |
- mock_out get_local_sr uuid1 |
|
| 121 |
+ mock_out get_local_sr_path /var/run/sr-mount/uuid1 |
|
| 122 | 122 |
create_directory_for_kernels |
| 123 | 123 |
) |
| 124 | 124 |
|
| ... | ... |
@@ -141,7 +141,7 @@ EOF |
| 141 | 141 |
function test_create_directory_for_images {
|
| 142 | 142 |
( |
| 143 | 143 |
. mocks |
| 144 |
- mock_out get_local_sr uuid1 |
|
| 144 |
+ mock_out get_local_sr_path /var/run/sr-mount/uuid1 |
|
| 145 | 145 |
create_directory_for_images |
| 146 | 146 |
) |
| 147 | 147 |
|
| ... | ... |
@@ -199,8 +199,7 @@ function test_get_local_sr {
|
| 199 | 199 |
|
| 200 | 200 |
[ "$RESULT" == "uuid123" ] |
| 201 | 201 |
|
| 202 |
- assert_xe_min |
|
| 203 |
- assert_xe_param "sr-list" "name-label=Local storage" |
|
| 202 |
+ assert_xe_param "pool-list" params=default-SR minimal=true |
|
| 204 | 203 |
} |
| 205 | 204 |
|
| 206 | 205 |
function test_get_local_sr_path {
|