summaryrefslogtreecommitdiff
path: root/src/integration/mod.rs
diff options
context:
space:
mode:
authorJJ Liebig <jonathan.liebig@gmail.com>2026-09-17 22:43:35 +0200
committerGitHub <noreply@github.com>2026-09-17 22:43:35 +0200
commit14351f121f6fc8c84b7c6c6eda78ad210e93cfcb (patch)
treeab2773993ac4f012e8dc52f757a7109b3af8b4d5 /src/integration/mod.rs
parent101ccc20d3c6483a38ed9e0a1239b2ab908b1704 (diff)
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.
Diffstat (limited to 'src/integration/mod.rs')
-rw-r--r--src/integration/mod.rs2
1 files changed, 2 insertions, 0 deletions
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
@@ -324,4 +324,6 @@ const GROK_INTEGRATION_VERSION: u32 = 2;
pub(crate) const INSTALL_WARNING_PREFIX: &str = "warning:";
#[cfg(test)]
+mod test_support;
+#[cfg(test)]
mod tests;