Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Xavier Bachelot
lemonldap-ng
Commits
774137e5
Commit
774137e5
authored
Jan 19, 2019
by
Yadd
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove useless test (fixes test failure on Debian unstable)
parent
6e5fe914
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
12 deletions
+0
-12
lemonldap-ng-common/t/02-Common-Conf-File.t
lemonldap-ng-common/t/02-Common-Conf-File.t
+0
-12
No files found.
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
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