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
7b134ddb
Commit
7b134ddb
authored
Feb 23, 2021
by
Francesc Guasch
Browse files
refactor(tests): show messages
parent
01f19a7b
Changes
2
Hide whitespace changes
Inline
Side-by-side
t/17_templates.t
View file @
7b134ddb
use
warnings
;
use
warnings
;
use
strict
;
use
strict
;
use
Data::
Dumper
;
use
Test::
More
;
use
Test::
More
;
use
HTML::
Lint
;
use
HTML::
Lint
;
...
...
t/nodes/10_basic.t
View file @
7b134ddb
...
@@ -1089,6 +1089,7 @@ sub test_fill_memory($vm, $node, $migrate) {
...
@@ -1089,6 +1089,7 @@ sub test_fill_memory($vm, $node, $migrate) {
eval
{
$clone
->
start
(
user_admin
)
};
eval
{
$clone
->
start
(
user_admin
)
};
$error
=
$@
;
$error
=
$@
;
like
(
$error
,
qr/(^$|No free memory)/
);
like
(
$error
,
qr/(^$|No free memory)/
);
exit
if
$error
&&
$error
!~
/No free memory/
;
last
if
$error
;
last
if
$error
;
$nodes
{
$clone
->
_vm
->
name
}
++
;
$nodes
{
$clone
->
_vm
->
name
}
++
;
...
...
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