Permalink
Browse files

More curses test-tweaking

  • Loading branch information...
bsdphk committed Jan 12, 2018
1 parent dc0f151 commit 76c740f57a2113275abaea9a5a5d425263629cc6
Showing with 2 additions and 4 deletions.
  1. +1 −1 bin/varnishtest/tests/u00010.vtc
  2. +0 −2 bin/varnishtest/tests/u00011.vtc
  3. +1 −1 bin/varnishtest/vtc_process.c
@@ -18,4 +18,4 @@ client c1 {
rxresp
} -run
process p1 -need-bytes 1000 -screen_dump -write {q} -wait
process p1 -need-bytes 500 -screen_dump -write {q} -wait
@@ -20,8 +20,6 @@ client c1 {
process p1 -writeln {panic.show}
process p1 -writeln {quit}
process p1 -need-bytes 400
process p1 -screen_dump -write "quit\r" -wait
@@ -714,11 +714,11 @@ cmd_process(CMD_ARGS)
u = strtoumax(av[1], NULL, 0);
av++;
do {
usleep(500000);
AZ(pthread_mutex_lock(&p->mtx));
v = p->stdout_bytes;
AZ(pthread_mutex_unlock(&p->mtx));
vtc_log(p->vl, 4, "Have %ju bytes", v);
usleep(500000);
} while(v < u);
continue;
}

0 comments on commit 76c740f

Please sign in to comment.