Fix an ordering problem in the test.
authorManuel Klimek <klimek@google.com>
Fri, 21 Jun 2013 07:23:14 +0000 (07:23 +0000)
committerManuel Klimek <klimek@google.com>
Fri, 21 Jun 2013 07:23:14 +0000 (07:23 +0000)
The output can be in different orders, which breaks the test in some
situations. I have not yet found out what the root cause of the order
difference is. This fixes our internal build. If it is not the right
solution, feel free to roll back.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184535 91177308-0d34-0410-b5e6-96231b3b80d8

test/Archive/directory.ll

index 297534522688f7b92bac6181d1011987c991ca7d..336d218fd0f99f4c954627bb89d41e11915a8f35 100644 (file)
@@ -5,7 +5,7 @@
 ;RUN: touch %T/a-very-long-file-name
 ;RUN: llvm-ar r %T/test.a %s %T/a-very-long-file-name
 ;RUN: llvm-ar r %T/test.a %T/a-very-long-file-name
-;RUN: llvm-ar t %T/test.a | FileCheck -check-prefix=MEMBERS %s
+;RUN: llvm-ar t %T/test.a | sort | FileCheck -check-prefix=MEMBERS %s
 ;MEMBERS-NOT: /
 ;MEMBERS: a-very-long-file-name
 ;MEMBERS: directory.ll