coreos/etcd — pull request #1965 by jonboulle (2014-12-19 00:13:06+00:00)
Title: pkg/fileutil: sort files in tests

Readdirnames makes no guarantees about ordering, so sort before testing the
listing. This test was failing consistently on Linux for me.

Also, simplify sort.Strings invocation in wal.

/cc @barakmich @xiang90