Project

General

Profile

Actions

Bug #13243

closed

file_check_special tests are failing on debian

Added by Félix DALLIDET over 6 years ago. Updated over 2 years ago.

Status:
Released
Priority:
N/A
Category:
Generic methods
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Fix check:
Regression:

Description

They are failing because the test expects the command:
/usr/bin/file -b "<file_path>"
to return "block special" but it returns "block special [bunch of extra stuff]" when dealing with specials files.

Changing the string match of the test to a regex match should solve the problem.

Actions

Also available in: Atom PDF