3 # Index preserves order of values for same key
5 modindex
-o tests
/tmp
/index
<< EOF
11 [ "`modindex -d tests/tmp/index`" = "a 1
15 modindex
-o tests
/tmp
/index
<< EOF
21 [ "`modindex -d tests/tmp/index`" = "a 3
25 # Index preserves order of values across multiple keys
27 modindex
-o tests
/tmp
/index
<< EOF
33 [ "`modindex -w ba tests/tmp/index`" = "Found value(s):
38 modindex
-o tests
/tmp
/index
<< EOF
44 [ "`modindex -w ba tests/tmp/index`" = "Found value(s):