Skip to content

Assert Quarto binary path and symlink target#117

Merged
bschwedler merged 1 commit into
mainfrom
consolidate-quarto-goss-tests
May 29, 2026
Merged

Assert Quarto binary path and symlink target#117
bschwedler merged 1 commit into
mainfrom
consolidate-quarto-goss-tests

Conversation

@bschwedler
Copy link
Copy Markdown
Contributor

The /usr/local/bin/quarto file: resource asserted only that the symlink exists with filetype: symlink, without verifying where it points. Promote the entry to assert linked-to: against the bundled path, and add an explicit entry for the real binary so both paths are covered structurally.

Quarto is bundled inside the Workbench install at /lib/rstudio-server/bin/quarto/bin/quarto. The Containerfile creates the /usr/local/bin/quarto symlink manually. If either path moves, the linked-to: assertion fails loudly at test time rather than later as a broken quarto invocation.

The existing /usr/local/bin/quarto file: resource asserted only that
the symlink exists with filetype symlink. Promote it to also assert
the link target, and add an explicit entry for the real binary so
that both paths required by Workbench's Quarto install are covered
structurally.

Quarto is bundled inside the Workbench install at
/lib/rstudio-server/bin/quarto/bin/quarto, with the symlink at
/usr/local/bin/quarto created by the Containerfile. If either path
moves, the linked-to assertion will fail loudly rather than
manifesting later as a broken quarto invocation.
@bschwedler bschwedler merged commit f23a32d into main May 29, 2026
78 of 80 checks passed
@bschwedler bschwedler deleted the consolidate-quarto-goss-tests branch May 29, 2026 20:34
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.

1 participant