mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
xfsqa 185 shouldn't have uninitialised variables in the golden output
Kill the output of uninitialised values when punching a hole. This prevents the test from passing on just about everything. Merge of master-melb:xfs-cmds:30762a by kenmcd. remove roffp and rlenp output for punch operations.
This commit is contained in:
@@ -176,6 +176,7 @@ main(
|
||||
strerror(errno));
|
||||
exit(1);
|
||||
}
|
||||
fprintf(stdout, "roffp is %lld, rlenp is %lld\n", roffp, rlenp);
|
||||
break;
|
||||
case METHOD_DMAPI_PUNCH:
|
||||
if (dm_punch_hole(sid, hanp, hlen, DM_NO_TOKEN, offset, length)) {
|
||||
@@ -185,7 +186,6 @@ main(
|
||||
}
|
||||
break;
|
||||
}
|
||||
fprintf(stdout, "roffp is %lld, rlenp is %lld\n", roffp, rlenp);
|
||||
dm_handle_free(hanp, hlen);
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user