File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 39
39
"build": {
40
40
"t3": {
41
41
"command": " make\n make test\n make install PREFIX=$out\n",
42
- "files": null,
43
- "runtime-packages": null,
44
- "systems": null,
45
42
"sandbox": "pure"
46
43
}
47
44
}
Original file line number Diff line number Diff line change @@ -16,11 +16,13 @@ int main() {
16
16
fflush (stdout );
17
17
fflush (stderr );
18
18
goodbye (stderr );
19
- usleep (30 ); // It only takes a millisecond to give stderr a head start
20
- // but we'll give it thirty to avoid false positives where
21
- // the first line is written to stdout.
22
19
goodbye (stdout );
23
20
fflush (stderr );
21
+ usleep (10 ); // It only takes a millisecond to give stderr a head start
22
+ // but we'll give it ten to avoid false positives where the
23
+ // first line is written to stdout.
24
24
fflush (stdout );
25
+ usleep (10 ); // Sleep once more to ensure that stdout has a chance to
26
+ // flush its buffer before the subsequent test runs.
25
27
return 0 ;
26
28
}
You can’t perform that action at this time.
0 commit comments