[flang] Fix bug in test_modfile.sh
authorTim Keith <tkeith@nvidia.com>
Thu, 28 Feb 2019 19:05:49 +0000 (11:05 -0800)
committerTim Keith <tkeith@nvidia.com>
Thu, 28 Feb 2019 19:05:49 +0000 (11:05 -0800)
commitef5499fd749354d7127fc27c273998de5289008d
tree3e93f65ab7daacd873d8329f06d500be11338787
parent6d4ab830be0ca5d1e189a887bb9cc29dcb81a8be
[flang] Fix bug in test_modfile.sh

The expected mod files specified in the test do not necessarily
appear in sorted order, and the desired order depends on what the
`comm` command expects. So sort them to be sure it is right.

Original-commit: flang-compiler/f18@730d0d0562dd0a4eabfde020fef9fe371d401ff5
Reviewed-on: https://github.com/flang-compiler/f18/pull/309
flang/test/semantics/test_modfile.sh