Skip to content

test(stat): pin %F 'regular empty file' ruling (niubash#993 S9) - #1789

Merged
caomengxuan666 merged 2 commits into
mainfrom
fix/niu993-1787-stat-empty-file
Nov 16, 2026
Merged

caomengxuan666 merged 2 commits into
mainfrom
fix/niu993-1787-stat-empty-file

Conversation

@caomengxuan666

Copy link
Copy Markdown
Member

Closes #1787. niubash#993 audit row S9 claimed stat -c %F reports regular file for a zero-byte file; re-measured: main already emits GNU 9.4's regular empty file. Ruling: no behavior change — this PR pins the exact audit repro as a regression test.

@caomengxuan666
caomengxuan666 force-pushed the fix/niu993-1787-stat-empty-file branch from 49b124c to 8f03053 Compare November 16, 2026 01:20
…#1787)

The audit flagged 'regular file' vs 'regular empty file' for `: > f`;
current main already emits GNU 9.4's exact wording. No behavior
change — pin the audit repro so it can't regress.
@caomengxuan666
caomengxuan666 force-pushed the fix/niu993-1787-stat-empty-file branch from 8f03053 to 6669b63 Compare November 16, 2026 03:26
zh-CN catalog 0.6.51 (77cd698) carries command.du.error.* keys ahead of
their source landing in #1794; ps.option.windows and legacy.ce93f5c9d7140354
drift resolved by #1786 + catalog 0.6.50.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

stat %F: 'regular empty file' vs 'regular file' — audit ruling (niubash#993 S9)

1 participant