Skip to content

test: drop the unimplemented CVMFS_TEST_SRVDEBUG debug mode - #4407

Merged
vvolkl merged 1 commit into
cvmfs:develfrom
kadircanyildirm-crypto:drop-srvdebug
Sep 3, 2026
Merged

vvolkl merged 1 commit into
cvmfs:develfrom
kadircanyildirm-crypto:drop-srvdebug

Conversation

@kadircanyildirm-crypto

Copy link
Copy Markdown
Contributor

publish_repo() turns CVMFS_TEST_SRVDEBUG into cvmfs_server publish -d or -D. Neither flag does what the comment above it describes: both were dropped in 2016 when publish moved into its own file, and -d came back in 2021 meaning direct I/O. So today fail publishes with direct I/O silently enabled and startup aborts with "Unrecognized option".

This removes the variable, its documentation and the two dead branches, leaving the plain publish call that every test already takes.

Fixes #4238

publish_repo() maps CVMFS_TEST_SRVDEBUG to `cvmfs_server publish -d`
or `-D`, but neither flag does what the surrounding comment describes.
Both existed when this was written in 2012, were dropped when publish
moved into its own file in 2016, and `-d` came back in 2021 with a
different meaning: direct I/O. So today `fail` publishes with direct
I/O silently enabled and `startup` makes publish abort with
"Unrecognized option".

Remove the variable, its documentation and the two dead branches, as
suggested in the issue, leaving the plain publish call that all tests
already take.

Fixes cvmfs#4238
Assisted-by: Claude
@vvolkl
vvolkl merged commit 0acf706 into cvmfs:devel Sep 3, 2026
16 checks passed
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.

CVMFS_TEST_SRVDEBUG is not implemented

2 participants