test: allow non-root GUI launcher fixtures

This commit is contained in:
Kevin Yue committed 2026-08-07 17:19:32 +08:00
1 parent 581710a770
commit b62db0e9a1
1 file changed
+1
+1
View File
@@ -162,6 +162,7 @@ mod tests {
const VERSION: &str = "test-version";
fn executable(dir: &TempDir, name: &str, output: &str, exit_code: i32) -> PathBuf {
fs::set_permissions(dir.path(), fs::Permissions::from_mode(0o755)).unwrap();
let path = dir.path().join(name);
fs::write(
&path,