10 lock_file test.lck || exit 1
11 unlock_file test.lck || exit 1
14 lock_file test.lck || exit 1
15 lock_file test.lck || exit 1
16 unlock_file test.lck || exit 1
17 unlock_file test.lck || exit 1
20 echo foobar:1 > test.lck
21 lock_file test.lck && exit 1
25 echo $host:1111111 > test.lck
26 lock_file test.lck || exit 1