/usr/share/lifelines/st/test_indi_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 29 30 31 32 33 34 35 36 37 38 39 | /*
* @progname test_indiit
* @version 1
* @author Stephen Dum
* @category self-test
* @output text
* @description
*
* test indi iterators: forindi, Parents, families, spouses, mothers, fathers
* Iterate over some data, printing results, so we can
* compare the output with exected results.
*/
proc main() {
print(nl())
forindi(i,c) {
print(d(c),": ",key(i),nl())
print(" Parents\n")
Parents(i,f,c2) {
print(" ",d(c2),": ",key(f),nl())
}
print(" families\n")
families(i,f,s,c2) {
print(" ",d(c2),": ",key(f)," ",key(s),nl())
}
print(" spouses\n")
spouses(i,s,f,c2) {
print(" ",d(c2),": ",key(s)," ",key(f),nl())
}
print(" mothers\n")
mothers(i,m,f,c2) {
print(" ",d(c2),": ",key(m)," ",key(f),nl())
}
print(" fathers\n")
fathers(i,fa,f,c2) {
print(" ",d(c2),": ",key(fa)," ",key(f),nl())
}
}
}
|