From 14351f121f6fc8c84b7c6c6eda78ad210e93cfcb Mon Sep 17 00:00:00 2001 From: JJ Liebig Date: Thu, 17 Sep 2026 22:43:35 +0200 Subject: test: skip windows symlink tests without symlink privilege (#4311) Windows refuses file symlinks with ERROR_PRIVILEGE_NOT_HELD (1314) unless the test process is elevated or Developer Mode is enabled, which broke non-admin local runs. Share a helper that reports the missing privilege so the two symlink tests skip only the symlink-dependent assertions. --- src/integration/mod.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/integration/mod.rs') diff --git a/src/integration/mod.rs b/src/integration/mod.rs index daa714e0..349af16f 100644 --- a/src/integration/mod.rs +++ b/src/integration/mod.rs @@ -323,5 +323,7 @@ const GROK_INTEGRATION_VERSION: u32 = 2; pub(crate) const INSTALL_WARNING_PREFIX: &str = "warning:"; +#[cfg(test)] +mod test_support; #[cfg(test)] mod tests; -- cgit v1.2.3