Skip to content

Commit 39f785a

Browse files
vanvugtmartinpitt
authored andcommitted
tests: Don't assume a fixed baud rate when identifying ttys
For some reason it's now 15 instead of 38400 on Ubuntu ppc64 systems. That's probably an Ubuntu bug, but it's also a bug in the test for assuming any specific speed. Related: https://bugs.launchpad.net/bugs/2146427 Related: https://bugs.launchpad.net/bugs/2144723
1 parent 15ddf35 commit 39f785a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/test-umockdev-vala.vala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -866,7 +866,8 @@ A: dev=188:1
866866
}
867867
assert_cmpstr (perr, CompareOperator.EQ, "");
868868
assert_cmpint (pexit, CompareOperator.EQ, 0);
869-
assert (pout.contains ("speed 38400 baud"));
869+
assert (pout.contains ("speed"));
870+
assert (pout.contains ("baud"));
870871
}
871872

872873
void

0 commit comments

Comments
 (0)