Project

General

Profile

Bug #13243

file_check_special tests are failing on debian

Added by Félix DALLIDET 4 months ago. Updated about 2 months ago.

Status:
Released
Priority:
N/A
Category:
Generic methods
Target version:
Severity:
User visibility:
Effort required:
Priority:
0

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.

Associated revisions

Revision 530fd937 (diff)
Added by Félix DALLIDET 4 months ago

Fixes #13243: file_check_special tests are failing on debian

History

#1 Updated by Félix DALLIDET 4 months ago

  • Status changed from New to In progress
  • Assignee set to Félix DALLIDET

#2 Updated by Félix DALLIDET 4 months ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Félix DALLIDET to Alexis MOUSSET
  • Pull Request set to https://github.com/Normation/ncf/pull/809

#3 Updated by Félix DALLIDET 4 months ago

  • Status changed from Pending technical review to Pending release

#4 Updated by Vincent MEMBRÉ about 2 months ago

  • Status changed from Pending release to Released
This bug has been fixed in Rudder 4.1.15, 4.3.5 and 5.0.1 which were released today.
Changelog
Changelog
Changelog

Also available in: Atom PDF