Skip to content

Commit

Permalink
Fix console test.
Browse files Browse the repository at this point in the history
  • Loading branch information
balazsracz committed Dec 6, 2021
1 parent 7a90039 commit de1ca52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/console/Console.cxxtest
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ TEST(ConsoleTest, testHelp)
" has an effect on socket based logins sessions\n"
"> ", 154));

EXPECT_EQ(::write(s, "?\n", 5), 5);
EXPECT_EQ(::write(s, "?\n", 3), 3);
usleep(1000);
EXPECT_EQ(::read(s, buf, 1024), 154);
EXPECT_TRUE(!strncmp(buf, " help | ? : print out this help menu\n"
Expand Down

0 comments on commit de1ca52

Please sign in to comment.