Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Xavier Bachelot
lemonldap-ng
Commits
774137e5
Commit
774137e5
authored
Jan 19, 2019
by
Yadd
Browse files
Remove useless test (fixes test failure on Debian unstable)
parent
6e5fe914
Changes
1
Hide whitespace changes
Inline
Side-by-side
lemonldap-ng-common/t/02-Common-Conf-File.t
View file @
774137e5
...
...
@@ -41,18 +41,6 @@ for ( my $i = 0; $i < @test; $i++ ) {
ok
(
$h
->
store
(
$test
[
$i
]
)
==
1
,
"
Test
$i
is stored
"
)
or
print
STDERR
"
$Lemonldap
::NG::Common::Conf::msg $!
";
$count
++
;
if
(
-
x
'
/usr/bin/file
'
)
{
eval
{
open
F
,
'
file t/lmConf-1.json |
';
$_
=
join
(
'',
<
F
>
);
close
F
;
## Debian Buster 'file' command returns JSON DATA
ok
(
/(ascii|utf-?8|json\sdata)/si
,
"
File is $1 encoded
"
)
or
print
STDERR
"
Result:
$_
\n
";
$count
++
;
};
}
my
$cfg
;
ok
(
$cfg
=
$h
->
load
(
1
),
"
Test
$i
can be read
"
)
or
print
STDERR
$
Lemonldap::NG::Common::Conf::
msg
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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