test: rearrange the test corpus into subfolders, fix tests
authorJani Nikula <jani@nikula.org>
Sun, 9 Mar 2014 12:25:37 +0000 (14:25 +0200)
committerDavid Bremner <david@tethera.net>
Tue, 11 Mar 2014 22:50:12 +0000 (19:50 -0300)
commitded713c39d8b0221a3b1b2b52a74966c20c3aba8
tree018da27a979738c09760b5fbbda3253cc5ff998f
parent7630f300ba52f4aab22ee696fe1507d0ef9790bc
test: rearrange the test corpus into subfolders, fix tests

We will need this for improved folder search tests, but having some
folders should exercise our code paths better anyway.

Modify the relevant test accordingly to make it pass.

This reorganization triggers a bug in the test suite, namely that it
expects the output of --output=files to be in a certain order. So we
add the fix for that into the same commit.

This mainly involves sorting, although the case --duplicate=$n
requires more subtlety.
57 files changed:
test/T090-search-output.sh
test/corpus/01:2, [new file with mode: 0644]
test/corpus/02:2, [new file with mode: 0644]
test/corpus/bar/17:2, [new file with mode: 0644]
test/corpus/bar/18:2, [new file with mode: 0644]
test/corpus/bar/baz/05:2, [new file with mode: 0644]
test/corpus/bar/baz/23:2, [new file with mode: 0644]
test/corpus/bar/baz/24:2, [new file with mode: 0644]
test/corpus/bar/baz/cur/25:2, [new file with mode: 0644]
test/corpus/bar/baz/cur/26:2, [new file with mode: 0644]
test/corpus/bar/baz/new/27:2, [new file with mode: 0644]
test/corpus/bar/baz/new/28:2, [new file with mode: 0644]
test/corpus/bar/cur/19:2, [new file with mode: 0644]
test/corpus/bar/cur/20:2, [new file with mode: 0644]
test/corpus/bar/new/21:2, [new file with mode: 0644]
test/corpus/bar/new/22:2, [new file with mode: 0644]
test/corpus/cur/01:2, [deleted file]
test/corpus/cur/02:2, [deleted file]
test/corpus/cur/03:2, [deleted file]
test/corpus/cur/04:2, [deleted file]
test/corpus/cur/05:2, [deleted file]
test/corpus/cur/06:2, [deleted file]
test/corpus/cur/07:2, [deleted file]
test/corpus/cur/08:2, [deleted file]
test/corpus/cur/09:2, [deleted file]
test/corpus/cur/10:2, [deleted file]
test/corpus/cur/11:2, [deleted file]
test/corpus/cur/12:2, [deleted file]
test/corpus/cur/13:2, [deleted file]
test/corpus/cur/14:2, [deleted file]
test/corpus/cur/15:2, [deleted file]
test/corpus/cur/16:2, [deleted file]
test/corpus/cur/17:2, [deleted file]
test/corpus/cur/18:2, [deleted file]
test/corpus/cur/19:2, [deleted file]
test/corpus/cur/20:2, [deleted file]
test/corpus/cur/21:2, [deleted file]
test/corpus/cur/22:2, [deleted file]
test/corpus/cur/23:2, [deleted file]
test/corpus/cur/24:2, [deleted file]
test/corpus/cur/25:2, [deleted file]
test/corpus/cur/26:2, [deleted file]
test/corpus/cur/27:2, [deleted file]
test/corpus/cur/28:2, [deleted file]
test/corpus/foo/06:2, [new file with mode: 0644]
test/corpus/foo/baz/11:2, [new file with mode: 0644]
test/corpus/foo/baz/12:2, [new file with mode: 0644]
test/corpus/foo/baz/cur/13:2, [new file with mode: 0644]
test/corpus/foo/baz/cur/14:2, [new file with mode: 0644]
test/corpus/foo/baz/new/15:2, [new file with mode: 0644]
test/corpus/foo/baz/new/16:2, [new file with mode: 0644]
test/corpus/foo/cur/07:2, [new file with mode: 0644]
test/corpus/foo/cur/08:2, [new file with mode: 0644]
test/corpus/foo/new/03:2, [new file with mode: 0644]
test/corpus/foo/new/09:2, [new file with mode: 0644]
test/corpus/foo/new/10:2, [new file with mode: 0644]
test/corpus/new/04:2, [new file with mode: 0644]