qa: various fix to tests

This commit is contained in:
2017-08-11 02:01:55 +02:00
parent 93dde48355
commit 1c4a04cd30
21 changed files with 253 additions and 60 deletions

View File

@ -27,6 +27,7 @@ handler(void *v, char *s)
int i;
if(strcmp(s, "stop") == 0){
done = 1;
print("stop note received; done = %d\n", done);
}else{
print("waiting after %s", s);
for(i = 0; i < 1000*1000; ++i)
@ -62,6 +63,6 @@ main(int argc, char**argv)
print("PASS\n");
exits("PASS");
}
print("%d notes received\n");
print("%d notes received\n", waited);
exits("FAIL");
}