This file is indexed.

/usr/src/openvswitch-1.4.0/tests/lockfile.at is in openvswitch-datapath-dkms 1.4.0-1ubuntu1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
AT_BANNER([lockfile unit tests])

m4_define([CHECK_LOCKFILE],
  [AT_SETUP([m4_translit([$1], [_], [ ])])
   AT_KEYWORDS([lockfile])
   AT_CHECK([test-lockfile $1], [0], [$1: success (m4_if(
     [$2], [1], [$2 child], [$2 children]))
])
   AT_CLEANUP])

CHECK_LOCKFILE([lock_and_unlock], [0])
CHECK_LOCKFILE([lock_and_unlock_twice], [0])
CHECK_LOCKFILE([lock_blocks_same_process], [0])
CHECK_LOCKFILE([lock_blocks_same_process_twice], [0])
CHECK_LOCKFILE([lock_blocks_other_process], [1])
CHECK_LOCKFILE([lock_twice_blocks_other_process], [1])
CHECK_LOCKFILE([lock_and_unlock_allows_other_process], [1])
CHECK_LOCKFILE([lock_timeout_gets_the_lock], [1])
CHECK_LOCKFILE([lock_timeout_runs_out], [1])
CHECK_LOCKFILE([lock_multiple], [0])