[sanitizer] De-flake one test.

llvm-svn: 213054
This commit is contained in:
Evgeniy Stepanov 2014-07-15 08:46:51 +00:00
parent 9e4580c8ee
commit bce3cf8074
1 changed files with 1 additions and 2 deletions

View File

@ -19,8 +19,7 @@ main (int argc, char** argv)
int res = read(master, buf, sizeof(buf));
write(1, buf, res);
write(master, "password\n", 9);
res = read(master, buf, sizeof(buf));
write(1, buf, res);
while ((res = read(master, buf, sizeof(buf))) > 0) write(1, buf, res);
} else {
char *s = getpass("prompt");
assert(strcmp(s, "password") == 0);