Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Projets publics
Ravada-Mirror
Commits
6fcd2fa3
Commit
6fcd2fa3
authored
Sep 20, 2017
by
Francesc Guasch
Browse files
[#335] test when ISO is already downloaded
parent
da60d00a
Changes
1
Hide whitespace changes
Inline
Side-by-side
t/request/20_download_local.t
View file @
6fcd2fa3
...
...
@@ -39,7 +39,18 @@ sub test_download {
rvd_back
->
_process_all_requests_dont_fork
();
is
(
$req1
->
status
,
'
done
');
is
(
$req1
->
error
,
'');
is
(
$req1
->
error
,
'')
or
return
;
my
$iso2
;
eval
{
$iso2
=
$vm
->
_search_iso
(
$id_iso
)
};
is
(
$@
,'');
ok
(
$iso2
,
"
Expecting a iso for id =
$id_iso
, got
"
.
(
$iso2
or
'
<UNDEF>
'));
my
$device
;
eval
{
$device
=
$vm
->
_iso_name
(
$iso2
)
};
is
(
$@
,'');
ok
(
$device
,"
Expecting a device name , got
"
.
(
$device
or
'
<UNDEF>
'));
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment