mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2026-11-19 14:36:15 -05:00
test: allow non-root GUI launcher fixtures
This commit is contained in:
1 file changed
+1
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user