Repository navigation
test: drop the unimplemented CVMFS_TEST_SRVDEBUG debug mode - #4407
Merged
Merged
Conversation
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
approved these changes
Aug 31, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
publish_repo()turnsCVMFS_TEST_SRVDEBUGintocvmfs_server publish -dor-D. Neither flag does what the comment above it describes: both were dropped in 2016 when publish moved into its own file, and-dcame back in 2021 meaning direct I/O. So todayfailpublishes with direct I/O silently enabled andstartupaborts 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