Lines Matching refs:flock_log

349 	flock_log("Acquiring shared locks 1, 2 and 3...");
354 flock_log(" ok\n");
356 flock_log("Upgrading lock 3 should fail w/ EWOULDBLOCK...");
360 flock_log(" ok\n");
362 flock_log("Upgrading 3 should succeed after releasing locks 1 & 2...");
367 flock_log(" ok\n");
370 flock_log("Starting up child, then downgrading lock 3 to shared...");
376 flock_log(" ok\n");
378 flock_log("Releasing child and upgrading...");
384 flock_log(" ok\n");
386 flock_log("Releasing lock 3...");
392 flock_log(" ok\n");
407 flock_log("fcntl(fd, %s, { %hd, %hd, %ld, %ld, ... })...",
411 flock_log(" ok\n");
422 flock_log("Running %s + %s tests (%s)...",
463 flock_log(" ok\n");
474 flock_log("Running %s + %s tests (%s)...",
506 flock_log(" ok\n");
519 flock_log("Acquiring first two shared locks...");
523 flock_log(" ok\n");
525 flock_log("Acquiring an exclusive lock should fail w/ EWOULDBLOCK...");
528 flock_log(" ok\n");
530 flock_log("Releasing to acquire an exclusive lock...");
533 flock_log(" ok\n");
535 flock_log("Acquiring an exclusive lock...");
538 flock_log(" ok\n");
540 flock_log("Acquiring a shared lock should fail w/ EWOULDBLOCK...");
545 flock_log(" ok\n");
547 flock_log("Releasing exclusive lock...");
550 flock_log(" ok\n");
564 flock_log("# Exclusive lock tests\n");
574 flock_log("# Shared lock tests\n");
584 flock_log("# flock(3C) directory lock tests\n");
595 flock_log("# Invalid fcntl(2) parameters tests\n");
606 flock_log("# Testing that multiple OFD locks work in a process\n");
609 flock_log("# Testing flock(3C) upgrade/downgrade tests\n");