diff --git a/lemonldap-ng-common/t/02-Common-Conf-File.t b/lemonldap-ng-common/t/02-Common-Conf-File.t index 63cadffcfea82e241b2cf03f137f294557f5061f..ebd5f5b389dd6fa5ba0260c42d236e660a5fb461 100644 --- a/lemonldap-ng-common/t/02-Common-Conf-File.t +++ b/lemonldap-ng-common/t/02-Common-Conf-File.t @@ -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( '', ); - 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;