Skip to content

Commit

Permalink
try lowercase xvfb on mac
Browse files Browse the repository at this point in the history
  • Loading branch information
ntBre committed Dec 5, 2024
1 parent 89814f2 commit 7f0aba9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2920,8 +2920,12 @@ mod tests {
#[test]
fn main() {
// setup xephyr
#[cfg(target_os = "linux")]
let mut cmd = Command::new("Xvfb").arg(":1").spawn().unwrap();

#[cfg(not(target_os = "linux"))]
let mut cmd = Command::new("xvfb").arg(":1").spawn().unwrap();

// wait for xephyr to start
unsafe {
while DPY.is_null() {
Expand Down

0 comments on commit 7f0aba9

Please sign in to comment.