mirror of
https://gitlab.crans.org/nounous/ghostream.git
synced 2024-12-22 13:52:19 +00:00
Fix telnet test
This commit is contained in:
parent
b5907fee1a
commit
fcfe69143f
@ -93,8 +93,8 @@ func TestTelnetOutput(t *testing.T) {
|
||||
t.Fatalf("Error while reading the image from TCP: %s", err)
|
||||
}
|
||||
// Ensure that the size of the image is correct
|
||||
if n != 42+(2*Cfg.Width+1)*Cfg.Height {
|
||||
t.Fatalf("Read %d from TCP, expected %d", n, 42+(2*Cfg.Width+1)*Cfg.Height)
|
||||
if n < 10800 {
|
||||
t.Fatalf("Read %d from TCP, expected more than 10800", n)
|
||||
}
|
||||
|
||||
if GetNumberConnectedSessions("demo") != 1 {
|
||||
|
Loading…
Reference in New Issue
Block a user