/usr/share/lifelines/st/test_fam_it.ll is in lifelines-reports 3.0.61-2.
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 21 22 23 24 25 26 27 28 | /*
* @progname test_fam_it
* @version 1
* @author Stephen Dum
* @category self-test
* @output text
* @description
*
* test family iterators: forfam, children and spouses
* Iterate over some data, printing results, so we can
* compare the output with exected results.
*/
proc main() {
print(nl())
forfam(f,c) {
print(d(c),": ",key(f),nl())
print(" children\n")
children(f,i,c2) {
print(" ",d(c2),": ",key(i),nl())
}
print(" spouses\n")
spouses(f,s,c2) {
print(" ",d(c2),": ",key(s),nl())
}
}
}
|