Project

General

Profile

Bug #7496

cmp_ds_cont has never worked

Added by Prakash Surya over 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Low
Assignee:
Category:
zfs - Zettabyte File System
Start date:
2016-10-24
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
needs-triage
Gerrit CR:

Description

The "cmp_ds_cont" function in the zfs-test suite ends with a call to "echo". As a result, any consumers of this function interpreting its return code to mean "success" or "failure" would have been flawed (i.e. if it was used in conjunction with "log_must"), as the return code of the function would have been the return code of the "echo" command; i.e. it would almost always report success.

Also available in: Atom PDF