Project

General

Profile

Actions

Bug #13243

closed

file_check_special tests are failing on debian

Added by Félix DALLIDET over 5 years ago. Updated almost 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 #1

Updated by Félix DALLIDET over 5 years ago

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

Updated by Félix DALLIDET over 5 years 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
Actions #3

Updated by Félix DALLIDET over 5 years ago

  • Status changed from Pending technical review to Pending release

Applied in changeset commit:530fd93738ab9669ee70bb1e60b54702ae7d5390.

Actions #4

Updated by Vincent MEMBRÉ over 5 years 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
Actions #5

Updated by Alexis Mousset almost 2 years ago

  • Project changed from 41 to Rudder
  • Category changed from Generic methods to Generic methods
Actions

Also available in: Atom PDF