Skip to content

Commit 7f0aba9

Browse files
committed
try lowercase xvfb on mac
1 parent 89814f2 commit 7f0aba9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/main.rs

+4
Original file line numberDiff line numberDiff line change
@@ -2920,8 +2920,12 @@ mod tests {
29202920
#[test]
29212921
fn main() {
29222922
// setup xephyr
2923+
#[cfg(target_os = "linux")]
29232924
let mut cmd = Command::new("Xvfb").arg(":1").spawn().unwrap();
29242925

2926+
#[cfg(not(target_os = "linux"))]
2927+
let mut cmd = Command::new("xvfb").arg(":1").spawn().unwrap();
2928+
29252929
// wait for xephyr to start
29262930
unsafe {
29272931
while DPY.is_null() {

0 commit comments

Comments
 (0)